pyql icon indicating copy to clipboard operation
pyql copied to clipboard

install pyql in mac

Open Seanwu928 opened this issue 5 years ago • 1 comments

i`ve install xcode,boost & cython. then run setup.py ,but the terminal shows 1 error below: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/Sean/opt/anaconda3/include -arch x86_64 -I/Users/Sean/opt/anaconda3/include -arch x86_64 -I/usr/local/include -I. -I../sources/boost_1_55_0 -I./cpp_layer -I/Users/Sean/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/Users/Sean/opt/anaconda3/include/python3.7m -c quantlib/sim/simulate.cpp -o build/temp.macosx-10.9-x86_64-3.7/quantlib/sim/simulate.o quantlib/sim/simulate.cpp:652:10: fatal error: 'ql/handle.hpp' file not found #include "ql/handle.hpp" ^~~~~~~~~~~~~~~ 1 error generated. error: command 'gcc' failed with exit status 1

Seanwu928 avatar Oct 15 '20 08:10 Seanwu928

Is QuantLib installed? You need the library itself to be installed before you can install pyql. These are just wrappers around the actual library.

thrasibule avatar Oct 28 '20 14:10 thrasibule