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' #156

Open
rabbiahassan opened this issue Sep 20, 2021 · 11 comments
Open

No module named 'pointnet2' #156

rabbiahassan opened this issue Sep 20, 2021 · 11 comments

Comments

@rabbiahassan
Copy link

Hello !
I executed the pip install -r requirements.txt and it doesn't produce any error.But when I tried to start training it produces the follwoing error.
2_PyTorch-master/pointnet2$ python3.6 train.py task=cls
[2021-09-21 01:43:05,716][hydra.utils][ERROR] - Error instantiating pointnet2.models.PointNet2ClassificationSSG : No module named 'pointnet2'
Traceback (most recent call last):
File "train.py", line 55, in
main()
File "/home/seecs/.local/lib/python3.6/site-packages/hydra/main.py", line 24, in decorated_main
strict=strict,
File "/home/seecs/.local/lib/python3.6/site-packages/hydra/_internal/utils.py", line 174, in run_hydra
overrides=args.overrides,
File "/home/seecs/.local/lib/python3.6/site-packages/hydra/_internal/hydra.py", line 86, in run
job_subdir_key=None,
File "/home/seecs/.local/lib/python3.6/site-packages/hydra/plugins/common/utils.py", line 109, in run_job
ret.return_value = task_function(task_cfg)
File "train.py", line 31, in main
model = hydra.utils.instantiate(cfg.task_model, hydra_params_to_dotdict(cfg))
File "/home/seecs/.local/lib/python3.6/site-packages/hydra/utils.py", line 60, in instantiate
raise e
File "/home/seecs/.local/lib/python3.6/site-packages/hydra/utils.py", line 49, in instantiate
clazz = get_class(config["class"])
File "/home/seecs/.local/lib/python3.6/site-packages/hydra/utils.py", line 21, in get_class
mod = import_module(module_path)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 941, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pointnet2'
Can you please guide?
Thanks for your time.

@gamzekiprit
Copy link

Hey, i also faced the same problem. Did you solve it? Thanks!

@besim21
Copy link

besim21 commented Mar 21, 2022

Hello, I am facing the same issue. Were you able to solve it? if yes, I'd appreciate your help. Thanks

@JianrongYan
Copy link

No answers yet? I also met this issue.

@swaidan
Copy link

swaidan commented Dec 1, 2022

Hi, you might have missed this step in the installation (check the first line of "Example training" in the README of the repo):
pip install -e .
I hope that solves the issue

@KhairilAriffinYahya
Copy link

So im running into same issue. Anyone found solution to this?

@JianrongYan
Copy link

So im running into same issue. Anyone found solution to this?

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

@LiXiaoYao-0
Copy link

can you tell me what version of cuda、pytorch and python you use? i have been having trouble installing it.

@LiXiaoYao-0
Copy link

So im running into same issue. Anyone found solution to this?

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

can you tell me what version of cuda、pytorch and python you use? i have been having trouble installing it.

@hyl510
Copy link

hyl510 commented Dec 2, 2023

So im running into same issue. Anyone found solution to this?

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

I have lower the setuptools and it didn't work. Should reinstall all the packages?

@hyl510
Copy link

hyl510 commented Dec 2, 2023

I got it! First install setuptools==58.2.0, and then run "python setup.py install". You can use command "python setup.py ----help-commands" to see all the available commands.

@airobot1024
Copy link

So im running into same issue. Anyone found solution to this?

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

pip install setuptools==58.2.0, it resolve my issues. Many thinks!

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

9 participants