You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to compile the test cases of pybind11 by running CMake. But I got the below error saying that my python include path is not correct.
CMake Error in tests/CMakeLists.txt:
Imported target "pybind11::module" includes non-existent path
"/Users/username/opt/anaconda3/python.app/Contents/include/python3.8"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
The path "/Users/username/opt/anaconda3/python.app/Contents/include/python3.8" does not exists. When I called get_python_inc() in python, I got "/Users/username/opt/anaconda3/include/python3.8". How can I change to this path?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I wanted to compile the test cases of pybind11 by running CMake. But I got the below error saying that my python include path is not correct.
The path "/Users/username/opt/anaconda3/python.app/Contents/include/python3.8" does not exists. When I called
get_python_inc()
in python, I got "/Users/username/opt/anaconda3/include/python3.8". How can I change to this path?Beta Was this translation helpful? Give feedback.
All reactions