Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install in win10 and python3.6 #20

Open
wjguo2002 opened this issue Oct 13, 2020 · 5 comments
Open

cannot install in win10 and python3.6 #20

wjguo2002 opened this issue Oct 13, 2020 · 5 comments

Comments

@wjguo2002
Copy link

env:
Win10,Python3.6 cannot install

install output log:
running install
running bdist_egg
running egg_info
writing mesh_intersection.egg-info\PKG-INFO
writing dependency_links to mesh_intersection.egg-info\dependency_links.txt
writing requirements to mesh_intersection.egg-info\requires.txt
writing top-level names to mesh_intersection.egg-info\top_level.txt
reading manifest file 'mesh_intersection.egg-info\SOURCES.txt'
writing manifest file 'mesh_intersection.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py:270: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'bvh_cuda' extension
Emitting ninja build file E:\github\torch-mesh-isect\build\temp.win-amd64-3.7\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC -Iinclude -I -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\github\torch-mesh-isect\src\bvh_cuda_op.cu -o E:\github\torch-mesh-isect\build\temp.win-amd64-3.7\Release\src/bvh_cuda_op.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75
FAILED: E:/github/torch-mesh-isect/build/temp.win-amd64-3.7/Release/src/bvh_cuda_op.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC -Iinclude -I -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\github\torch-mesh-isect\src\bvh_cuda_op.cu -o E:\github\torch-mesh-isect\build\temp.win-amd64-3.7\Release\src/bvh_cuda_op.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75
E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "start" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected a ";"

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): warning: variable "triangles_ptr" was declared but never referenced

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "start" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

Error limit reached.
100 errors detected in the compilation of "E:/github/torch-mesh-isect/src/bvh_cuda_op.cu".
Compilation terminated.
bvh_cuda_op.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1515, in _run_ninja_build
env=env)
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 97, in
cmdclass={'build_ext': BuildExtension})
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools_init_.py", line 144, 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\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\ProgramData\Anaconda3\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
_build_ext.run(self)
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 "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions
build_ext.build_extensions(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 534, in build_extension
depends=ext.depends)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 631, in win_wrap_ninja_compile
with_cuda=with_cuda)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

@nathan96g
Copy link

I have the same error, env: windows 10 python 3.7

@mahsa1363
Copy link

mahsa1363 commented Nov 1, 2020

I have the same error, environment: windows 10 python 3.7. and Cuda10.0
please help

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: identifier "start" is undefined

src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected a ";"

src/bvh_cuda_op.cu(945): warning: variable "triangles_ptr" was declared but never referenced

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: identifier "start" is undefined

src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: expected an expression

src/bvh_cuda_op.cu(945): error: "#" not expected here

src/bvh_cuda_op.cu(945): error: "#" not expected here

Error limit reached.
100 errors detected in the compilation of "C:/Users/avajang/AppData/Local/Temp/tmpxft_00001bb0_00000000-10_bvh_cuda_op.cpp1.ii".
Compilation terminated.
bvh_cuda_op.cu
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 1

@whois-byte
Copy link

Do you know how to solve it?

@BukuBukuChagma
Copy link

env: Win10,Python3.6 cannot install

install output log: running install running bdist_egg running egg_info writing mesh_intersection.egg-info\PKG-INFO writing dependency_links to mesh_intersection.egg-info\dependency_links.txt writing requirements to mesh_intersection.egg-info\requires.txt writing top-level names to mesh_intersection.egg-info\top_level.txt reading manifest file 'mesh_intersection.egg-info\SOURCES.txt' writing manifest file 'mesh_intersection.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py running build_ext C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py:270: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'bvh_cuda' extension Emitting ninja build file E:\github\torch-mesh-isect\build\temp.win-amd64-3.7\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/1] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC -Iinclude -I -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\github\torch-mesh-isect\src\bvh_cuda_op.cu -o E:\github\torch-mesh-isect\build\temp.win-amd64-3.7\Release\src/bvh_cuda_op.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/github/torch-mesh-isect/build/temp.win-amd64-3.7/Release/src/bvh_cuda_op.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC -Iinclude -I -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.26.28801\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\github\torch-mesh-isect\src\bvh_cuda_op.cu -o E:\github\torch-mesh-isect\build\temp.win-amd64-3.7\Release\src/bvh_cuda_op.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "start" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected a ";"

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): warning: variable "triangles_ptr" was declared but never referenced

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "start" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: expected an expression

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

E:/github/torch-mesh-isect/src/bvh_cuda_op.cu(945): error: "#" not expected here

Error limit reached. 100 errors detected in the compilation of "E:/github/torch-mesh-isect/src/bvh_cuda_op.cu". Compilation terminated. bvh_cuda_op.cu ninja: build stopped: subcommand failed. Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1515, in _run_ninja_build env=env) File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 97, in cmdclass={'build_ext': BuildExtension}) File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools__init__.py", line 144, 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\setuptools\command\install.py", line 67, in run self.do_egg_install() File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 172, in run cmd = self.call_command('install_lib', warn_dir=0) File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 158, in call_command self.run_command(cmdname) File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "C:\ProgramData\Anaconda3\lib\distutils\command\install_lib.py", line 107, in build self.run_command('build_ext') File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 87, in run _build_ext.run(self) 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 "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions build_ext.build_extensions(self) File "C:\ProgramData\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions _build_ext.build_ext.build_extensions(self) File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension _build_ext.build_extension(self, ext) File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 534, in build_extension depends=ext.depends) File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 631, in win_wrap_ninja_compile with_cuda=with_cuda) File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension

How did you solve this? @whois-byte @nathan96g @wjguo2002 @mahsa1363 @geopavlakos

@J1Yeon-Kim
Copy link

Same here. Did you solve it? @BukuBukuChagma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants