NeRF-SLAM icon indicating copy to clipboard operation
NeRF-SLAM copied to clipboard

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

Open Rosa712 opened this issue 2 years ago • 5 comments

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 avatar Nov 10 '23 02:11 Rosa712

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"

qungvinh1280 avatar Nov 13 '23 01:11 qungvinh1280

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

Rosa712 avatar Nov 14 '23 13:11 Rosa712

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.

llxClover avatar Nov 19 '23 02:11 llxClover

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:

  • Step 1: conda create --name NeRF-SLAM python=3.9
  • Step 2: git clone https://github.com/jrpowers/NeRF-SLAM.git --recurse-submodules Next, you should follow the subsequent steps as guided in the readme file.
  • 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!

qungvinh1280 avatar Nov 23 '23 02:11 qungvinh1280

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.

X-WN avatar Dec 08 '23 09:12 X-WN