Re: QuantLib Python Bindings - Windows

Posted by ElMariachi on
URL: http://quantlib.414.s1.nabble.com/QuantLib-Python-Bindings-Windows-tp1064p1071.html

This seems to have built the bindings, at least the build went through without errors. Now I get a similar error as I get with OSX:

>>> from QuantLib import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "QuantLib\__init__.py", line 19, in <module>
    from QuantLib import *
  File "QuantLib\QuantLib.py", line 24, in <module>
    _QuantLib = swig_import_helper()
  File "QuantLib\QuantLib.py", line 16, in swig_import_helper
    import _QuantLib
ImportError: No module named _QuantLib

This is *after* running python setup.py install

Luigi Ballabio wrote
On Sep 20, 2010, at 3:42 PM, ElMariachi wrote:
> OK so I am able to get past the initial error with finding boost by  
> setting
> CL="/Ic:\boost\boost_1_44"
>
> Now I get the following error:
> LINK : fatal error LNK1104: cannot open file
> 'libboost_serialization-vc90-mt-1_44.lib'

try setting

INCLUDE=C:\boost\boost_1_44
(this should make no longer necessary to set CL)

LIB=C:\boost\boost_1_44\lib
(or wherever it is that you have libboost_*)

Luigi


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
QuantLib-users mailing list
QuantLib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib-users