Login  Register

Re: Trouble about QuantLib-Python

Posted by Luigi Ballabio on Dec 09, 2015; 2:02pm
URL: http://quantlib.414.s1.nabble.com/Trouble-about-QuantLib-Python-tp17153p17154.html

In your Python installation (that is, the folder where your python.exe is located) you should have a folder Lib\site-packages. After you complete Vineet's instructions, you should have a folder QuantLib inside it, and inside the folder (among others) two files called QuantLib.py and _QuantLib.pyd.  Is this correct?

Luigi


On Wed, Dec 9, 2015 at 11:25 AM Ruilong Xu <[hidden email]> wrote:
Hi
my system:
platform win7-32bit
python 2.7(using anaconda)
boost 1.59
QuantLib 1.7

I install QuantLib-Python following this tutorial
https://vineetv.wordpress.com/2015/07/07/installing-quantlib-python-windows/

It works for me at first,but when I type

import QuantLib in python

python tells me:No module named _QuantLib.

What should I do next?




--
View this message in context: http://quantlib.10058.n7.nabble.com/Trouble-about-QuantLib-Python-tp17153.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
--

<http://leanpub.com/implementingquantlib>
<http://implementingquantlib.com>
<http://twitter.com/lballabio>


------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users