#๐ trying to install a library and this error shows up
24 messages ยท Page 1 of 1 (latest)
@wraith vine
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
!paste - copy-paste the whole error in here
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
also store your token in another file and load it from there
easiest is just bot.run(open("token.txt").read())
The error shows instructions to install the build tools
They come with Microsoft Visual Studio (not code)
Resetted ๐ฅ
Okay thnx
I wonder why it's not just using a wheel
You are installing an old version that doesn't have 3.13 wheels
So you'll have to build the wheel yourself if you want that
Follow the instructions in the error to do so
Ah i see
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/v isual-cpp-build-tools/
Thanks,I'll give it a try
pwnkit also sounds suspiciously like malware
As does pwncode.py (which you even misspelled, lul)
Seems like OP tryna make a Politics and War Discord bot! Cool!
I think everyone mentioned it, aiohttp (a package dependency) requires C++ build tools, but a C++ build tools dependency is outdated or not installed.
If you are on windows and not using WSL/Docker, installing off that url is fine. if you are using WSL or Docker, installing build-essential may help ๐
Also - regenerate your token and put in a file/env_var (Or at the very least edit it out the screenshot!)
If this is going onto github (especially public repositories)- I'd recommend gitignoring the file containing this token ๐
Its a library for a text based game (Politics and war)
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.