trying to download discord.py using pip install, gave me the error message in the title. I installed using cmd and the commands py -m pip install -U discord, the cmd was also run in admin. tried using pip, pip3, and pip3.9, all of which didnt work. I tried uninstalling/reinstalling/upgrading (in that order) the said libraries:
- pip
- yarl
- multidict
- wheel
- setuptools
versions of python that I tried (in all versions are downloaded with default settings with nothing changed): python-3.9.0-amd64.exe python-3.9.0.exe I tried researching about wheels and tried installing with –no-binary :all: as well, but it gave the same error message below. in all the iterations of what I have tried, it churned out the exact same error message without any deviation ples help :<
Failed to build yarl multidict
ERROR: Could not build wheels for yarl, multidict which use PEP 517 and cannot be installed directly```
Kenil Vasani
I also had the exact same issue today, since i downloaded node.js and it updated my python 8 to python 9 and i had to reinstall all of my moduels including dpy.
The solution is to follow what it says
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/