Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (venv)[jalal@ivcgpu1 CNN_age_gender]$ python age_gender_example.py
- Traceback (most recent call last):
- File "age_gender_example.py", line 17, in <module>
- import caffe
- File "/home/grad3/jalal/caffe/python/caffe/__init__.py", line 1, in <module>
- from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
- File "/home/grad3/jalal/caffe/python/caffe/pycaffe.py", line 13, in <module>
- from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
- ImportError: No module named _caffe
- (venv)[jalal@ivcgpu1 CNN_age_gender]$ ls
- age_gender_5000_10000.py age_gender_example.py age_gender_with_inputs.py
- (venv)[jalal@ivcgpu1 CNN_age_gender]$ cd
- (venv)[jalal@ivcgpu1 ~]$ cd caffe/
- (venv)[jalal@ivcgpu1 caffe]$ ls
- build CONTRIBUTING.md docker INSTALL.md Makefile.config.example README.md
- caffe.cloc CONTRIBUTORS.md docs LICENSE matlab scripts
- cmake data examples Makefile models src
- CMakeLists.txt distribute include Makefile.config python tools
- (venv)[jalal@ivcgpu1 caffe]$ make pycaffe
- 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.
- make: *** [python/caffe/_caffe.so] Error 1
- (venv)[jalal@ivcgpu1 caffe]$ pwd
- /home/grad3/jalal/caffe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement