#๐ discord not being found
68 messages ยท Page 1 of 1 (latest)
@silent nova
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.
I may need help in a call or something to specify my problem
what is the error
You're most likely installing to a different version than what you're running your program from
Please provide the full traceback for your exception in order to help us identify your issue.
While the last line of the error message tells us what kind of error you got,
the full traceback will tell us which line, and other critical information to solve your problem.
Please avoid screenshots so we can copy and paste parts of the message.
A full traceback could look like:
Traceback (most recent call last):
File "my_file.py", line 5, in <module>
add_three("6")
File "my_file.py", line 2, in add_three
a = num + 3
~~~~^~~
TypeError: can only concatenate str (not "int") to str
If the traceback is long, use our pastebin.
exactly
Hmm
I use the 3.13 version
Where can I install it directly on the version its designated for
would be really helpful if someone helped me on a call
You are not voice verified
how do i verify myself
Which means you cannot speak in voice channel
Be at least 3 day in the server
One of the requirements
can you come dm
No
I do not accept DM from people I don't know
I will show you my problem here
yes
sure
one sec
Okay so
this is the code I pasted
and ran
on python
You run this on the terminal, not as a python script
You meant to type this in the terminal, not run it as python script (ร2)
I already did that btw, one second im translating from german to english..
!repl
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut in "Settings > Apps > Advanced App Settings > App Execution Aliases".
Technically not as relevant because he literally put this in a python file and run it as python script
this is what it says in the terminal
shoot mis read
Just pip install discord.py? In the terminal
translating again.. one sec
pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- pip install discord.py
-
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Send me a text form of this
SyntaxError: invalid syntax
PS G:\Users\Administrator> & C:/Users/Administrator/AppData/Local/Programs/Python/python313/python.exe c:/Users/Administrator/Downloads/scripts/s.py
File "c:\Users\Administrator\Downloads\scripts\s.py", line 1
python -m pip install discord.py
^^^
SyntaxError: invalid syntax
PS G:\Users\Administrator>
C:/Users/Administrator/AppData/Local/Programs/Python/python313/python.exe -m pip install discord.py
Try run this
Click here to see this code in our pastebin.
C:/Users/Administrator/AppData/Local/Programs/Python/python313/python.exe -m pip show discord.py
You would run this because windows is dumb
If it were normal, you would run pip show discord.py because that what you install
Hm okay worked.... let me try my code now
I will tell you if it worked or not in a second
Okay so, it worked now and it recognizes my discord. But I wanted to paste my user token into it which I did but now it says Improper token has been passed. while I am pretty sure its the right token
I pasted my token into it and I even tested if it was the right one by logging into it but the script somehow doesnt recognize it.
You cannot put user token there
You must register a bot from discord dev portal, and get a bot token
Anyway good night
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.