Skip to content

windows11 install #1591

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

Closed
gkadntmd opened this issue Jul 14, 2023 · 3 comments
Closed

windows11 install #1591

gkadntmd opened this issue Jul 14, 2023 · 3 comments

Comments

@gkadntmd
Copy link

This error occurs while installing in the Windows 11 conda environment
python=3.9
cuda=11.7

building 'pytorch3d._C' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d
Failed to build pytorch3d
ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects

However, I have installed all the latest build tools. Before installing in this environment, it was installed well in other environments, but this problem occurs in the newly created virtual environment.

halp me !!

@bottler
Copy link
Contributor

bottler commented Jul 14, 2023

Are you using the right command prompt? I think you need to be working in a visual studio command prompt, which is with the relevant version of visual studio in "program files" or something.

@dhruva-pathak
Copy link

does your PATH include the Visual Studio build tools path? For me, I found I had to include
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64 in my PATH variable,

@gkadntmd
Copy link
Author

The problem was the environment variable that I set the other day. thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants