-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Problem installing pytorch3d on windows #1055
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
Same here:
|
Now removed everything and tested the following:
And i get the following:
Here my output of
My OS: I need Alternative: If anyone has an Windows 10 Build 20145 for me, then i have no problem to use WSL2 instead and close this issue. |
did you tried installing CUB library? |
Don't know how to do? |
(CUB isn't the problem. The build proceeds anyway because CUDA 11.3 is new enough to have some CUB, which lets pytorch3d build, and I think the parts of pytorch3d which can go wrong with the wrong cub version are not used by romp.) Looking at the first error log, you have the problem which has been seen before with In the second error log there is a problem with the visual studio install. It seems like cl.exe is not present (in that prompt). |
I downgraded from python 3.9 to 3.7 and now i have the following error
|
Sorry - there is not enough information here for me to know what is wrong. What command were you running? Does it have a verbose flag? You need to find out what file it fails to find. It could be compiler related. |
I was running
|
So please try with |
it shows exactly the same. I'm suspecting the error may be realted to the cpp_extension.py from torch |
Then you'll need to approach this another way or debug further yourself. There's not enough information for me to help. |
@chris-hndz You mean you can replicate this exact situation with the mysterious
? If so, that could be quite useful to help get to the bottom of this. I have no idea what it signifies, so I can't tell you how to get round the problem. Can you explain your set up and what you did? |
I uninstalled python, visual studio 2019 and nvidia cuda, so I could start again clean. For more context, I'm trying to install the project https://github.com/YadiraF/PIXIE that uses pytorch3d.
Doing that I solved the mysterious problem, but I'm back to the problem I originally posted #1055 (comment) Using: The mysterious problem started when I tried the solutions suggested in #876 (comment) maybe I messed up the steps on the suggested solutions, so I will try again and comment if I succeed |
I was finally able to make it work: 1.- I deleted the c++14 flag from setup.py
then I was able to install it using @bottler thanks for the help |
for me it worked just be deleting the C++14 flag, and running python setup.py install on Windows. No need for changing the .cu files |
As for me, I didn't change anything, I just run My env is |
I met the same problem. Only "The system cannot find the file specified " without any other prompts. Tried this method, but no one has any use. |
I have the same problem, and I don't know how to solve this problem |
can you please tell me all details because i am installing same |
I'm trying to install pytorch3d in a project in win10 + cuda 11.3 + pytorch 1.10.1+cu113
Using:
pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
But I'm having the following problem
The text was updated successfully, but these errors were encountered: