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

When I ran ''sudo python3 setup.py install'', error occurred "ModuleNotFoundError: No module named 'torch'" #62

Open
Rosa712 opened this issue Nov 10, 2023 · 5 comments

Comments

@Rosa712
Copy link

Rosa712 commented Nov 10, 2023

When I run ''sudo python3 setup.py install'' ,error occurred
image
it shows I don't have torch module, but the picture shows I have installed the torch

@Rosa712 Rosa712 changed the title ''sudo python3 setup.py install'' error occurred ''sudo python3 setup.py install'' error occurred "ModuleNotFoundError: No module named 'torch'" Nov 10, 2023
@Rosa712 Rosa712 changed the title ''sudo python3 setup.py install'' error occurred "ModuleNotFoundError: No module named 'torch'" When I ran ''sudo python3 setup.py install'', error occurred "ModuleNotFoundError: No module named 'torch'" Nov 10, 2023
@qungvinh1280
Copy link

When I run ''sudo python3 setup.py install'' ,error occurred image it shows I don't have torch module, but the picture shows I have installed the torch

you can try again with the command: "sudo python setup.py install"

@Rosa712
Copy link
Author

Rosa712 commented Nov 14, 2023

When I run ''sudo python3 setup.py install'' ,error occurred image it shows I don't have torch module, but the picture shows I have installed the torch

you can try again with the command: "sudo python setup.py install"

I try again with the command but a weird error is reported. I have installed setuptools
image

@llxClover
Copy link

When I run ''sudo python3 setup.py install'' ,error occurred image it shows I don't have torch module, but the picture shows I have installed the torch

you can try again with the command: "sudo python setup.py install"

I try again with the command but a weird error is reported. I have installed setuptools image

I also encountered the same error, have you resolved it? I have tested torch.

@qungvinh1280
Copy link

qungvinh1280 commented Nov 23, 2023

Khi tôi chạy ''sudo python3 setup.py install'', đã xảy ra lỗi, hình ảnhnó cho thấy tôi không có mô-đun đèn pin, nhưng hình ảnh cho thấy tôi đã cài đặt đèn pin

bạn có thể thử lại bằng lệnh: "sudo python setup.py install"

Tôi thử lại bằng lệnh nhưng có một lỗi lạ được báo cáo. Tôi đã cài đặt công cụ thiết lập hình ảnh

I have installed the environment for this NeRF-SLAM algorithm many times without encountering any errors like yours. You can follow the steps I have previously performed as follows:

  • Another thing to note is that I did not use the command "sudo python setup.py install" but only used the command "python setup.py install"
    I will continue to support you if you need it. Good luck!

@nw-wf
Copy link

nw-wf commented Dec 8, 2023

I also encountered the same error, but I didn't find a useful answer. I tried "python3 setup.py install", but I didn't have permission. So, I added write permission for path /usr/lib/python3.8/site-packages/, then tried "python3 setup.py install" again. At last, it installed successfull.

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

4 participants