craymichael / CNN_LCD

CNNs for Loop-Closure Detection on the Oxford New College and City Centre Datasets
GNU General Public License v3.0
58 stars 14 forks source link

I am a beginner . How to do solve this? run the code "python setup.py install" #9

Closed HTaCheng closed 4 years ago

HTaCheng commented 4 years ago

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

craymichael commented 4 years ago

Closing as duplicate of #8