-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Error in installing Pytorch3D on windows #1299
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
Can you use jupyter notebook? |
Is there a log file with an error in it? If not, can you try without ninja? Make sure the environment variable PYTORCH3D_NO_NINJA is set to 1. You will get at least a more informative error |
Thank you @bottler. Your suggestion was helpful to get more informative error (please see the attached error log file). |
@cinamon123 Could you please elaborate on exact steps you followed to install? Thank you. |
Interesting excerpts from that log file:
I think this is a 32bit build (aka x86), but I don't know why. I think this nvcc expects only 64 bit builds (x64), and for 32 bit builds to fail, possibly in this way. Which command prompt are you running in? |
I am using "x64 Native Tools Command Prompt for VS 2019". |
That's good. It should do x64 builds. So I'm not sure what is going on. |
I added the CUB_HOME to list of environment variables, restarted the machine and run the commands on x64 command prompt again. This time the installation progressed to some extent but ended with following three errors:
|
Can you get CUB 1.16.0 or newer and set CUB_HOME to that? |
It is my pleasure to help you ! Well, I post a summery on CSDN (a Chinese website). If you want some more details, you can visit through this link:
tips: All these steps come from MD by Pytoech3D-team. Good Luck my friend~ |
Thank you for the suggestion @bottler. It worked. I installed Pytorch3D on Windows. The steps I followed are as follows:
These steps worked on my Windows machine. Hope these work for others too |
One correction -
We have to add the |
Hello @supriya-gdptl , Which VS version are you using? I followed all the steps but I got the following error:
I think it could be a version error as mentioned in #1024 |
thanks very much |
🐛 Bugs / Unexpected behaviors
I am trying to install Pytorch3D on Windows 10. and getting an error:
More info on the conda environment I am using:
Instructions To Reproduce the Issue:
Could you please tell if I am using correct steps? Is there any command that I missed in installing Pytorch3D which is causing this error?
Appreciate any help.
Thank you.
The text was updated successfully, but these errors were encountered: