Hello.
First of all, I would like to express my endless gratitude for conducting such interesting research and sharing the code and dataset on GitHub.
Because your research is very interesting, I am attempting to install the publicly available github code in my local environment.
But, I have a problem.
Refer to your readme.md and type command python setup.py install --home="." I entered the command, but the following error occurred.
I guess # distutils: sources = knn.cxx in knn.pyx
This part seems to be causing the problem. However, I couldn't find knn.cxx anywhere.
Since I am a college student studying in a non-English speaking country, I may be missing something. I've been thinking about it for the past week, but the issue hasn't been resolved, so I'm registering an issue. I hope your answer helps me solve my problem. Thanks.
python setup.py install --home="."
/home/stellacustodis/anaconda3/envs/3DCZSL/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
/home/stellacustodis/anaconda3/envs/3DCZSL/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
TEST FAILED: ./lib/python/ does NOT support .pth files
bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
./lib/python/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.
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 code 1_
Hello.
First of all, I would like to express my endless gratitude for conducting such interesting research and sharing the code and dataset on GitHub.
Because your research is very interesting, I am attempting to install the publicly available github code in my local environment.
But, I have a problem.
Refer to your readme.md and type command python setup.py install --home="." I entered the command, but the following error occurred.
I guess # distutils: sources = knn.cxx in knn.pyx
This part seems to be causing the problem. However, I couldn't find knn.cxx anywhere.
Since I am a college student studying in a non-English speaking country, I may be missing something. I've been thinking about it for the past week, but the issue hasn't been resolved, so I'm registering an issue. I hope your answer helps me solve my problem. Thanks.