Code Monkey home page Code Monkey logo

Comments (5)

BGR-EGHA avatar BGR-EGHA commented on July 22, 2024

Hi Nimrah,

when did the error appear?
I assume it occurred while attempting to install scikit-learn?
If yes, try installing Microsoft Build Tools for C++.
If that does not resolve the issue, please provide more information.

Kind regards
Nick

from lsat.

9imrah avatar 9imrah commented on July 22, 2024

Hi, Dear Nick, I hope you are well. I installed Microsoft Build Tools C++, Now there is new error while installing the requierment.txt "python -m pip install -r requirements.txt"

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

from lsat.

BGR-EGHA avatar BGR-EGHA commented on July 22, 2024

Hello Nimrah,

please post the complete output.

Cheers
Nick

from lsat.

9imrah avatar 9imrah commented on July 22, 2024

File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-p7a0k4mr\overlay\Lib\site-packages\setuptools\msvc.py", line 190, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError("Unable to find vcvarsall.bat")
distutils.errors.DistutilsPlatformError: 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: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip available: 22.2.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

I run this as well: python.exe -m pip install --upgrade pip

from lsat.

BGR-EGHA avatar BGR-EGHA commented on July 22, 2024

Hi,

looks like the visual C++ Build Tools are not correctly installed.
Can you try working through this?
With which package does the error appear?
Maybe you can get a compiled wheel from here?
Please post the complete output starting with the command you entered.

Cheers
Nick

from lsat.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.