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

failed to install pointgroup_ops #9

Open
z-yf17 opened this issue Mar 29, 2023 · 1 comment
Open

failed to install pointgroup_ops #9

z-yf17 opened this issue Mar 29, 2023 · 1 comment

Comments

@z-yf17
Copy link

z-yf17 commented Mar 29, 2023

Hi! Thanks for your great work.
I've got some trouble when installing pointgroup_ops as follows:

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-11.1'
running install
/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
writing pointgroup_ops.egg-info/PKG-INFO
writing dependency_links to pointgroup_ops.egg-info/dependency_links.txt
Traceback (most recent call last):
File "setup.py", line 42, in
setup(
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/init.py", line 108, in setup
return distutils.core.setup(**attrs)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/install.py", line 74, in run
self.do_egg_install()
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/install.py", line 123, in do_egg_install
self.run_command('bdist_egg')
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 155, in run
self.run_command("egg_info")
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 311, in run
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 738, in write_toplevel_names
[
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 738, in
[
File "/home/zhangyifan/tempconda/miniconda3/envs/pytorch/lib/python3.8/site-packages/setuptools/dist.py", line 1183, in iter_distribution_names
name = ext.name
AttributeError: 'NoneType' object has no attribute 'name'

How can I fix it? Thank you!

@qzp2018
Copy link

qzp2018 commented Sep 15, 2023

because you didn't install the corresponding torch version pytorch 1.10

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

2 participants