Re: Installation issues on Mac OS X 10.11.2
Posted by
Luigi Ballabio on
Sep 06, 2016; 8:29am
URL: http://quantlib.414.s1.nabble.com/Installation-issues-on-Mac-OS-X-10-11-2-tp17214p17682.html
Hello,
may you check that the location of libQuantLib.so is in your LD_LIBRARY_PATH?
Luigi
I did as per the instructions for installation of the QuantLib-Python
Quant lib itself seems to be fine.
SWIG compilation itself seems to be fine but i still get this error:
make -C Python
seems to be fine
am able to install using sudo.
BUT.....
make -C Python check
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-am
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-local
/opt/local/bin/python setup.py test
running test
running build
running build_py
running build_ext
Traceback (most recent call last):
File "setup.py", line 249, in <module>
'build_ext': my_build_ext
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
line 151, in setup
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 953, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File "setup.py", line 58, in run
module = __import__('QuantLibTestSuite', globals(), locals(), [''])
File "test/QuantLibTestSuite.py", line 22, in <module>
from date import DateTest
File "test/date.py", line 18, in <module>
import QuantLib
File "build/lib.macosx-10.11-x86_64-2.7/QuantLib/__init__.py", line 24, in
<module>
from QuantLib import *
File "build/lib.macosx-10.11-x86_64-2.7/QuantLib/QuantLib.py", line 21, in
<module>
_QuantLib = swig_import_helper()
File "build/lib.macosx-10.11-x86_64-2.7/QuantLib/QuantLib.py", line 20, in
swig_import_helper
return importlib.import_module('_QuantLib')
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py",
line 37, in import_module
__import__(name)
ImportError: No module named _QuantLib
make[2]: *** [check-local] Error 1
make[1]: *** [check-am] Error 2
i checked my PATH, LD_LIBRARY_PATH whatever environment or prefix or any
configuration from every possible help i could find without success. is
there any issue with swig installation?
--
View this message in context: http://quantlib.10058.n7.nabble.com/Installation-issues-on-Mac-OS-X-10-11-2-tp17214p17637.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
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users