2020-11-28

Python.h: No such file or directory, when implementing python into c++, using CLion

I have used "apt-cyg install python3-devel" on my Cygwin terminal. I have included directories in CMake...

include_directories(C:/Users/{my_user_name}/anaconda3/include)

and importantly in my main.cpp

#include <Python.h>

and have tried "Python.h", and "fullpath/Python.h". I get back the error "fatal error: Python.h: No such file or directory". Thanks for any help.



from Recent Questions - Stack Overflow https://ift.tt/2V9VVw7
https://ift.tt/eA8V8J

No comments:

Post a Comment