I’m using VS Code on a 2018 Lenovo P51 with Windows 10 and a 32 GB ram.
I’m trying to install the SKLearn module in Python.
I’ve written pip install scikit-learn –verbose in the terminal to do so. It’s able to install the build dependencies, the build wheel, and the backend dependencies. But when it gets to the preparing metadata stage, I get an error saying that preparing metadata(pyproject.toml) did not run successfully. How can I fix this error so that I can install SKLearn?
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
You were hoping
pip
would find a binary wheel,and it didn’t work out for your platform.
I usually install via
conda,
for a smoother binary install experience.
According to this similar issue in github, I found a possible solution.
You could try to set the environment variable: