sermanet / OverFeat

Other
597 stars 203 forks source link

Error with installing Python api #38

Open Cw-zero opened 6 years ago

Cw-zero commented 6 years ago

When I run python setup.py install in Terminal Show the following error

chenwei@Ubuntu14:~/project/OverFeat/overfeat (2)/API/python$ python setup.py install /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running build running build_ext building 'overfeat' extension creating build creating build/temp.linux-x86_64-2.7 x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I../../src -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c overfeatmodule.cpp -o build/temp.linux-x86_64-2.7/overfeatmodule.o -fopenmp cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] In file included from ../../src/THTensor.hpp:5:0, from ../../src/overfeat.hpp:4, from overfeatmodule.cpp:3: ../../src/TH/TH.h:4:23: fatal error: THGeneral.h: 没有那个文件或目录

include "THGeneral.h"

                   ^

compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

talentneptuner commented 5 years ago

Have you solved the question?

HTaCheng commented 4 years ago

Have you solved the question?