-
Notifications
You must be signed in to change notification settings - Fork 14
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
Compile error #4
Comments
Sorry, we have not test this project on windows, it is suggest to compile on ubuntu.
…---Original---
From: ***@***.***>
Date: Sat, Apr 2, 2022 23:16 PM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: [ohhhyeahhh/PointAttN] Compile error (Issue #4)
Hi, when I tried to compile the 'ChamferDistancePytorch/chamfer3D' , it returned an error shows below, Have you ever met this problem?
I am using CUDA 11.0, PyTorch 1.7.0 ,Windows10
Thank you!
Traceback (most recent call last): File "setup.py", line 3, in <module> setup( File "D:\anaconda\envs\py38\lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\core.py", line 148, in setup return run_commands(dist) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\core.py", line 163, in run_commands dist.run_commands() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\dist.py", line 1214, in run_command super().run_command(command) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command cmd_obj.run() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\dist.py", line 1214, in run_command super().run_command(command) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command cmd_obj.run() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\command\bdist_egg.py", line 165, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command self.run_command(cmdname) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\dist.py", line 1214, in run_command super().run_command(command) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command cmd_obj.run() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\command\install_lib.py", line 107, in build self.run_command('build_ext') File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\dist.py", line 1214, in run_command super().run_command(command) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command cmd_obj.run() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\command\build_ext.py", line 79, in run _build_ext.run(self) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 339, in run self.build_extensions() File "D:\anaconda\envs\py38\lib\site-packages\torch\utils\cpp_extension.py", line 653, in build_extensions build_ext.build_extensions(self) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 448, in build_extensions self._build_extensions_serial() File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 473, in _build_extensions_serial self.build_extension(ext) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\command\build_ext.py", line 202, in build_extension _build_ext.build_extension(self, ext) File "D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 528, in build_extension objects = self.compiler.compile(sources, File "D:\anaconda\envs\py38\lib\site-packages\torch\utils\cpp_extension.py", line 619, in win_wrap_ninja_compile from distutils.spawn import _nt_quote_args # type: ignore ImportError: cannot import name '_nt_quote_args' from 'distutils.spawn' (D:\anaconda\envs\py38\lib\site-packages\setuptools\_distutils\spawn.py)
But I didn't see nt_quote_args in spawn.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Well, I'll try it later |
I am in the same situation as you, may I ask how you resolved it then? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, when I tried to compile the 'ChamferDistancePytorch/chamfer3D' , it returned an error shows below, Have you ever met this problem?
I am using CUDA 11.0, PyTorch 1.7.0 ,Windows10
Thank you!
But I didn't see nt_quote_args in spawn.
The text was updated successfully, but these errors were encountered: