Tencent / ObjectDetection-OneStageDet

单阶段通用目标检测器

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

win 10 下运行 make -j32 报错AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'怎么办?

traveling121 opened this issue · comments

make -j32
python setup.py build_ext --inplace
running build_ext
Traceback (most recent call last):
File "setup.py", line 160, in
cmdclass={'build_ext': custom_build_ext},
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools_init_.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:\ProgramData\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "setup.py", line 112, in build_extensions
customize_compiler_for_nvcc(self.compiler)
File "setup.py", line 85, in customize_compiler_for_nvcc
default_compiler_so = self.compiler_so
AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
make: *** [Makefile:2: all] Error 1