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

No module named 'pointnet2_cuda' #20

Open
Keyird opened this issue Jul 8, 2020 · 9 comments
Open

No module named 'pointnet2_cuda' #20

Keyird opened this issue Jul 8, 2020 · 9 comments

Comments

@Keyird
Copy link

Keyird commented Jul 8, 2020

where is pointnet2_cuda?

@GilgameshD
Copy link

I think you may need to compile the cuda and cpp code by running 'python setup.py install'. If there is any problem when you import the pointnet2_cuda, it is possible that your nvcc version does not match your pytorch cuda runtime lib version. For example, if your nvcc is 10, you may need to install torch with cuda10

@Keyird
Copy link
Author

Keyird commented Jul 12, 2020

Thank you very much!

@JianrongYan
Copy link

Thank you very much!

Have you solved this issue? I also met this error even though I kept the version of nvcc and torch.cuda same (nvcc -V reports 11.1 and torch.version reports 1.9.0+cu111).

@LiuQiir
Copy link

LiuQiir commented Dec 8, 2022

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

@JianrongYan
Copy link

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

I have solved this issue. The main reason is your setuptools version is too high, so you can lower your setuptools version by "pip install setuptools==58.2.0".

@synOmO
Copy link

synOmO commented Feb 15, 2023

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

I have solved this issue. The main reason is your setuptools version is too high, so you can lower your setuptools version by "pip install setuptools==58.2.0".

I still have this problem. I also kept the version of nvcc and torch.cuda same (nvcc -V reports 11.3 and torch.version reports 1.10.0+cu113). When I ran 'python setup.py install', i had this problem "subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1."

@LiuQiir
Copy link

LiuQiir commented Feb 20, 2023 via email

@JianrongYan
Copy link

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

I have solved this issue. The main reason is your setuptools version is too high, so you can lower your setuptools version by "pip install setuptools==58.2.0".

I still have this problem. I also kept the version of nvcc and torch.cuda same (nvcc -V reports 11.3 and torch.version reports 1.10.0+cu113). When I ran 'python setup.py install', i had this problem "subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1."

this article may help u (https://blog.csdn.net/fq9200/article/details/125362088).

@aaaaasleep
Copy link

错误:命令“C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe”失败,退出状态为 2
Error after running python setup.py install

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