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

python.h no such file #43

Closed
MrLuer opened this issue Apr 12, 2020 · 1 comment
Closed

python.h no such file #43

MrLuer opened this issue Apr 12, 2020 · 1 comment

Comments

@MrLuer
Copy link

MrLuer commented Apr 12, 2020

I tried install on ubuntu 18.04 ,when I run make py got errors below,

CXX/LD -o python/caffe/_caffe.so python/caffe/_caffe.cpp
python/caffe/_caffe.cpp:1:52: fatal error: Python.h: No such file or directory
#include <Python.h> // NOLINT(build/include_alpha)
^
compilation terminated.
Makefile:505: recipe for target 'python/caffe/_caffe.so' failed
make: *** [python/caffe/_caffe.so] Error 1

and my PYTHONPATH set as below

(caffe) llc@qkm:~/workshop/DRBox-master$ echo $PYTHONPATH
/home/llc/workshop/DRBox-master/python

@MrLuer
Copy link
Author

MrLuer commented Apr 15, 2020

set LD_LIBRARY_PATH to solve it

@MrLuer MrLuer closed this as completed Apr 15, 2020
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

1 participant