Open ultimatech-cn opened 3 months ago
I suspect you don't have enough visual studio components installed to build C++ python extensions. Also it's worth checking through the other issues which include "The system cannot find the file specified" like yours. We've had a few.
Thanks for the reply. What I am installing is community version of VS2022
I think you need to be running in that "x64 Native Tools Command Prompt..." not in a normal command prompt.
What happens when you type "nvcc" at the prompt?
And can you go back to the VS installer and install lots of components? I can't remember exactly which ones you need, but this error can be a symptom of not having enough. Maybe look at other issues...
Thanks for your reply, What I am choosing is "x64 Native Tools Command Prompt..." , becasue it run [vcvarsall.bat] to setup env. I run this [vcvarsall.bat] in my conda env to simulate that.
C:\Windows\System32>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:36:15_Pacific_Daylight_Time_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
I will check the VS installation later. Is there any other workround for that, like wheels file?
No - on Windows you need to build from source with Visual Studio.
If you do not know the root cause of the problem / bug, and wish someone to help you, please post according to this template:
🐛 Bugs / Unexpected behaviors
After git clone, get error when executing pip install .
Instructions To Reproduce the Issue:
Please include the following (depending on what the issue is):
git diff
) or code you wrote