Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Requirement installation Error" *yarl* building wheel failed #2

Closed
NormTurtle opened this issue Jan 11, 2023 · 3 comments
Closed

"Requirement installation Error" *yarl* building wheel failed #2

NormTurtle opened this issue Jan 11, 2023 · 3 comments

Comments

@NormTurtle
Copy link

hosting on local ,

at the step pip install -r .\requirements.txt
output 🤷‍♂️

     adding license file 'LICENSE'
      writing manifest file 'yarl.egg-info\SOURCES.txt'
      copying yarl\__init__.pyi -> build\lib.win-amd64-cpython-311\yarl
      copying yarl\_quoting_c.c -> build\lib.win-amd64-cpython-311\yarl
      copying yarl\_quoting_c.pyi -> build\lib.win-amd64-cpython-311\yarl
      copying yarl\_quoting_c.pyx -> build\lib.win-amd64-cpython-311\yarl
      copying yarl\py.typed -> build\lib.win-amd64-cpython-311\yarl
      running build_ext
      building 'yarl._quoting_c' extension
      error: 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: Failed building wheel for yarl
Failed to build aiohttp frozenlist multidict yarl
ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects

image
I tried -

  1. installing c++ build vs-code;
    or just confused in what to install?

Help me ASAP

@jsmsj
Copy link
Owner

jsmsj commented Jan 11, 2023

ok so try removing aiohttp frozenlist multidict yarl from the requirements.txt file, and save it

and then run pip install aiohttp

and then again run pip install -r requirements.txt

@NormTurtle
Copy link
Author

try removing aiohttp frozenlist multidict yarl from the requirements.txt

yep, thsi worked , but

i better recommand you to update the requirement.txt or make it copy-paste thing
i hope u got what i mean?

btw thx ! new issue on the way :(

@NormTurtle
Copy link
Author

fixed : but jsmsj has do take a step to stop that error, like making requiredment.txt better or other way like
copy-paste commamds for essential only requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants