python setup.py install
/home/tacheng/.pyenv/versions/2.7.15/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
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I../../src -I/home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include -I/home/tacheng/.pyenv/versions/2.7.15/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++
In file included from /home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
from /home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from overfeatmodule.cpp:4:
/home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
warning "Using deprecated NumPy API, disable it with " \
^~~
g++ -pthread -shared -L/home/tacheng/.pyenv/versions/2.7.15/lib build/temp.linux-x86_64-2.7/overfeatmodule.o -L../../src -lTH -loverfeat -lopenblas -o build/lib.linux-x86_64-2.7/overfeat.so -lgomp -lTH -L/home/tacheng/GraduationCode/CNN_LCDPycharm/overfeat/src/libTH.a
/usr/bin/ld: cannot find -lopenblas
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
You need the openblas library to compile overfeat. I'd refer to the installation instructions here for dependencies you need to install before installing overfeat.
python setup.py install /home/tacheng/.pyenv/versions/2.7.15/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 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I../../src -I/home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include -I/home/tacheng/.pyenv/versions/2.7.15/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++ In file included from /home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from overfeatmodule.cpp:4: /home/tacheng/.local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
warning "Using deprecated NumPy API, disable it with " \
^
~~ g++ -pthread -shared -L/home/tacheng/.pyenv/versions/2.7.15/lib build/temp.linux-x86_64-2.7/overfeatmodule.o -L../../src -lTH -loverfeat -lopenblas -o build/lib.linux-x86_64-2.7/overfeat.so -lgomp -lTH -L/home/tacheng/GraduationCode/CNN_LCDPycharm/overfeat/src/libTH.a /usr/bin/ld: cannot find -lopenblas collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1