Good evening all, I'm writing my thesis and I'm new with the use of QuantLib. I installed Boost, Quantlib and Swig with HomeBrew on Mac OSX El Capitan but when it try to import QuantLib in my jupyter (IPhyton) notebook in this way: import QuantLib as ql
I always get an error message saying that no quantlib module exists. I have been trying to deal with this problem the whole day but I think I'm missing something :( and I really need quantlib in order to try to develop my case study I would be really glad if someone could help me, thank you.
When I print the path I get this result:
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages', '/Library/Python/2.7/site-packages']