D
D
Detri2020-12-22 18:08:34
Python
Detri, 2020-12-22 18:08:34

How to solve error with Discord.py?

When I create a "Discord py" module, I get this error:
5fe20c951f3ea445055099.png
please help me solve.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Karbivnichy, 2020-12-22
@Detri

Use Python 3.8 or install the library from source:
5fe20e895c1ec217427112.png

D
Danila Nazarenko, 2021-01-04
@Lermal

If you haven't found the answer yet, here it is:
Rollback pip to 18.1 (python -m pip install pip==18.1)
Install discord.py (pip install discord.py) Update
pip to the latest (python -m pip install pip)
If it appears error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools" then go to this site: https://visualstudio.microsoft.com/ru/visual-cpp-b... and download Visual Builds from there.
In Visual Builds select "CSS Development Environment (First)" and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question