I was installing a pyhton library using pip when i got this error, i have tried updating build tools by downloading the file from the given link, but still it is showing me same error, please help me, i have not downloaded the optional modules which are by default checked in the installer
I have downloaded these 2 files till now, please help!!!
@Jeanine Zhang-MSFT
Please tell me how you did this, I have the same problem
@anthonyj
did you get an answer to your question since this post?
The component can be found to the far right of the launcher's gui, or under "Individual Components".
Installing the SDK did not solve the problem for me though.
The problem hasn't gone away, even though I tried everything that has been suggested.
What helped me to get past that was using Anaconda (I'm using the mini version - Miniconda), and following this.
At the Conda command prompt, type
SET DISTUTILS_USE_SDK=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
and hit enter. Then try what you were doing.
Of course you need to replace "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64 with your build-tools path and architecture. See this link -
https://scikit-learn.org/stable/developers/advanced_installation.html#building-from-source