Python Forum

Full Version: Having trouble installing scikit-learn via VSC and pulling my hair out
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello fam,

I am a self-starter in learning about Python programming and I am currently trying to make a small app analyzing an uploaded image. However, I just simply cannot seem to install this scikit-learn via VSC without generating this long drawn-out error. I've tried to use the full command, "python -m pip install scikit-learn" but it still give me the same error without resolving. I'm just stuck here being clueless what to do at this point, as this is a foundational problem within my system not being able to reference any of the specified compilers (icl, cl, cc, gcc, clang, clang-cl, pgcc) to build the scipy library. Seems like there is an easy solution that's just totally going over my frustrated head right now. Can anyone please help me out?

I've attached the error result I get in the attached .txt file. Please let me know if there is a specific format of providing the issue in this forum as this is my first time posting.

Thank you so much,
pythonturtle
from command line, not python (with virtual environment activated if you use one):
use: pip install -U scikit-learn
see: https://pypi.org/project/scikit-learn/
not: python -m pip ...