-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Trouble installing pytorch3d on Windows 11 #1744
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
Comments
Hi! Have you solved the problem? |
Unfortunately no, I am still out of ideas how to fix it and wondering about installing linux on dual boot |
Oops! Sorry to hear that. Thanks for your reply! |
You can try my repository for building packages and PyPI simple index and see if it works for you: |
I heard that only build from source code using VS2019 works on Windows |
This is similar to #1227 - and the comments on that issue and the other issues which link to it - should be a fix. |
Hi !
I would like to install pytorch3d for a project in my school. I am sure there probably is a similar issue that has my answer, but I couldn't find it. I am also unsure about whether I did the process correctly too, so I'll describe everything here.
My system is windows 11, on a laptop that has a rtx3070. I created an environement using anaconda prompt. While in the environment (
conda activate ENV_NAME
), I installed pytorch following the documentation. I made sure that cuda is available throughnvcc --version
, and it is indeed.Then, while still being inside the environment inside the anaconda prompt, I moved to a specific folder with
cd
, and usedpip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
. However, this returns the following output:Please note that this is an incomplete output. There was an enormous chains of inclusion remarks, that were already long enough to scroll through, I don't think they are necessary to the message as each line provides a different path. In fact, it was so long that I can't even scroll past it.
I then tried installing from a local clone instead, using
The first one proceeded correctly, but the other one yielded the following results:
Then it was stuck for a little while on that last line, and then gave me the following output
I have cut down the output to only the last Traceback.
I have found the issue #1591, and I've tried, it didn't work. I checked the path of the comment and it didn't match to anything in my pc, so I tried to adapt it, and it results in
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x64
, but also didn't work. HOWEVER, I did not restart the terminal nor my pc, so maybe that could be the cause ?The text was updated successfully, but these errors were encountered: