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

python setup.py install #9

Open
ZkzMMDC opened this issue Feb 28, 2024 · 0 comments
Open

python setup.py install #9

ZkzMMDC opened this issue Feb 28, 2024 · 0 comments

Comments

@ZkzMMDC
Copy link

ZkzMMDC commented Feb 28, 2024

cuda=11.2 pytorch=1.10.1 GPU=RTX4090
when I run the python setup.py install

running install
running bdist_egg
running egg_info
writing pointnet2.egg-info/PKG-INFO
writing dependency_links to pointnet2.egg-info/dependency_links.txt
writing top-level names to pointnet2.egg-info/top_level.txt
/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/torch/utils/cpp_extension.py:381: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'pointnet2.egg-info/SOURCES.txt'
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
Traceback (most recent call last):
File "setup.py", line 22, in
cmdclass={'build_ext': BuildExtension}
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 404, in build_extensions
self._check_cuda_version()
File "/home/zkz/anaconda3/envs/robot/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 781, in _check_cuda_version
raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
RuntimeError:
The detected CUDA version (11.2) mismatches the version that was used to compile
PyTorch (10.2). Please make sure to use the same CUDA versions.

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

1 participant