-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Installation error under LINUX #1831
Comments
PyTorch is not installed in the environment in which you are installing pytorch3d. Can you share exactly the sequence of commands you are running? |
I encountered the same issue a few minutes ago. Running python3.12 in a virtual environment with the following torch libraries installed (verified via pip list):
I then follow the instructions provided in the INSTALL.md for this repo. Specifically the following: At which point I encounter the exact same issue as @Razbolt shows in his screenshot above. So the "problem" for me was that I was doing this in python 3.12, and python 3.12 is not supported by pytorch3d yet. Just pointing this out in case someone else gets this issue and is trying to debug. |
@Dead-Hand This is surprising. Python 3.12 should be fine. You should be able to run |
Having the same issue as @Dead-Hand but on python 3.10 in a virtual env.
Can run Happy to provide more information if it helps! |
Could it be the wrong pip? Can you try |
Its def. related to pip in some manner. |
Same here. Only |
Same issue here on Ubuntu 24.04. Install works with python 3.8 in clean virtual environment:
However, creating a new virtual environment with python 3.12 or 3.11 and running the same install leads to:
Needless to say, |
Hi guys,
I am trying to install PyTorch3d; however, I received an error that prevented me from understanding the reasoning. I shared the logs in the attached image.
Basically, I'm trying to follow the codes, and it gives me an error like No module named 'torch', which I uploaded already.
I wonder if I am the only one who had the error under the Linux system.
I hope the question is clear.
The text was updated successfully, but these errors were encountered: