Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install pyql in mac #258

Open
Seanwu928 opened this issue Oct 15, 2020 · 1 comment
Open

install pyql in mac #258

Seanwu928 opened this issue Oct 15, 2020 · 1 comment

Comments

@Seanwu928
Copy link

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

@thrasibule
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants