#๐Ÿ”’ discord not being found

68 messages ยท Page 1 of 1 (latest)

silent nova
#

When I try to install discord.py , it does not work for some reason and keeps giving me the same answer over and over.

warm waspBOT
#

@silent nova

Python help channel opened

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.

silent nova
#

I may need help in a call or something to specify my problem

gaunt juniper
#

what is the error

west fulcrum
#

You're most likely installing to a different version than what you're running your program from

icy osprey
#

You can just describe your issue

#

!traceback if any

warm waspBOT
#
Traceback

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.

gaunt juniper
#

exactly

silent nova
#

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

icy osprey
silent nova
icy osprey
#

Which means you cannot speak in voice channel

icy osprey
#

One of the requirements

silent nova
icy osprey
#

No

silent nova
#

?

#

Why

#

whats the difference

icy osprey
#

I do not accept DM from people I don't know

silent nova
#

Damn bro

#

alright

icy osprey
#

And also I don't go to call to people I don't know

#

You can explain it here

silent nova
#

I will show you my problem here

#

yes

#

sure

#

one sec

#

Okay so

#

this is the code I pasted

#

and ran

#

on python

icy osprey
#

You run this on the terminal, not as a python script

silent nova
icy osprey
#

You meant to type this in the terminal, not run it as python script (ร—2)

silent nova
limpid ravine
#

!repl

silent nova
#

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".

icy osprey
# limpid ravine !repl

Technically not as relevant because he literally put this in a python file and run it as python script

silent nova
limpid ravine
#

shoot mis read

icy osprey
silent nova
#

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
icy osprey
silent nova
# icy osprey 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>

icy osprey
#
C:/Users/Administrator/AppData/Local/Programs/Python/python313/python.exe -m pip install discord.py

Try run this

warm waspBOT
icy osprey
#

Ok, so you already have installed it

#

Now you have to write code

silent nova
#

yes but if I try to "pip show discord" it still says error codes

#

and problems

icy osprey
#
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

silent nova
#

I will tell you if it worked or not in a second

silent nova
#

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.

icy osprey
#

You cannot put user token there
You must register a bot from discord dev portal, and get a bot token

#

Anyway good night

warm waspBOT
#
Python help channel closed for inactivity

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.