cc1plus: fatal error: knn.cxx: No such file or directory #275
Unanswered
nicetomeet-you
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
utils/nearest_neighbors/knn.pyx: distutils: sources = knn.cxxreplace knn.cxx by knn_.cxx |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
recently,im running compile_op.sh like this:
`
cd utils/nearest_neighbors
python setup.py install --home="."
cd ../../
cd utils/cpp_wrappers
sh compile_wrappers.sh
cd ../../../
`
AND i get this:
running install running build running build_ext building 'nearest_neighbors' extension /usr/bin/gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./ -I/root/miniconda3/lib/python3.8/site-packages/numpy/core/include -I/root/miniconda3/include/python3.8 -c knn.cxx -o build/temp.linux-x86_64-3.8/knn.o -std=c++11 -fopenmp cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: fatal error: knn.cxx: No such file or directory compilation terminated. error: command '/usr/bin/gcc' failed with exit status 1It told me knn.cxx is miss ,so where is it? or how can i solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions