rcnn调用的cython,cython需要编译
I just find my command python
use python3
, but my project use python2
.
So, I make it with python2 setup.py build_ext --inplace
again.
So the problem was solved.
You can also enter the folder where the Cython files are placed and simply run:
python setup.py build_ext --inplace
make sure the setup.py is in the folder.
还需要在linux环境编译!!!!!!!不然win10报错:
File "setup.py", line 115, in build_extensions
customize_compiler_for_nvcc(self.compiler)
File "setup.py", line 88, in customize_compiler_for_nvcc
default_compiler_so = self.compiler_so
AttributeError: MSVCCompiler instance has no attribute 'compiler_so'