#๐ pip not wo
407 messages ยท Page 1 of 1 (latest)
@wet pier
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.
did you install python ?
by going to python.org , downloading the installer and running it ?
close your current terminal , open a new one , and type in py -0p and show the output
same thing
show screenshot please
can you double check python is installed ? i really think you didnt install python
show me the path
yeah
very weird
can you run where python ?
where python?
yes , run that in terminal
nothings poppingu up
Try python -m pip install something
so you have installed python and neither python or py command works
this doesnt sound like a pyhton issue and more like an installation issue to me
can you tell me more about how you installed python ?
idk
Where did you install python from? python.org, right?
ya
see the troubleshooting guide https://docs.python.org/3/using/windows.html#pymanager-troubleshoot
@j, is your issue not fixed?
nope
what is it?
idk
what happens if you run pymanager ?
what are you pip'ing
new python installer?
what do you want to pip install?
oh, so you don't know "how to install pip"?
what's not working?
tutorials
which tutorials?
py and pymanager are both the same program under the hood the "Python Installation Manager"
py - This is the primary command name, but it can potentially conflict with existing aliases
pymanager - This is an unambiguous alternative name for the same Python Installation Manager
what's tuts?
Watch videos instantly on Bingโenjoy direct playback, discover related clips, and dive into trending content all in one place.
that tut
idk what else
pip is already installed in python, btw.
not for me
you shouldn't use get-pip.py on windows anymore
it's builtin
this tutorial is incorrect
no .py files work tho
use python -m pip install numpy to install numpy etc
okay, so let's start from beginning.
its done
- Install VSCode.
installing VSCode is a great choice
i have it already
- Make a new folder, somewhere
VSCode is an IDE, IDEs are a type of text editor
do not use space in that folder
what now
- Right click that folder, click open in VSCode
what folder
that you created in step 2.
make a folder named first_project for example
okay i did
is vscode opened?
ya
can you screenshot this?
ss what idont get shit
the vscode window
it reads "you have not yet opened a folder" so you didn't follow the instructions correctly
ctrl+p opens the command palette
and ext install installs extension.
screenshot what you have
- Open
Documentsand make new folder namedVSCode
okk
- Open
VSCode, pressCtrl+K Ctrl+O.
it'll open file browser, select Documents/VSCode
that you created in step 1
do i save it
save what, screenshot is worth 1000 words.
screenshot please
screenshot?
select folder
i did
screenshot the result
??
screenshot the whole window
this is explorer not the folder selector
im stupid yo
close this window and go back to vscode
ok im back
screenshot VSCode
ext install ms-python.vscode-pylance
ext install ms-python.python
ext install charliermarsh.ruff
the whole window please
one by one, install by Ctrl+P
vscode [Adminstrator] looks worrying you should not be running vscode as admin
I'm not a windows expert but I think it's bad
yep, that's very bad indeed.
do i close it
it shouldn't be opened/installed as admin.
did you opened it by double clicking, or did you run as admin
"no" what
how did you open vscode?
screenshot what you clicked to open vscode
screenshot please
you keep cutting off the whole window, don't do this
click Open
okay so
so what
The default location for the executable is C:\Program Files\Microsoft VS Code\Code.exe
its off
screenshot the window with the checkbox
try closing all vscode windows and opening a fresh one
user
see downloads folder, maybe/
ext install ms-python.vscode-pylance
ext install ms-python.python
ext install charliermarsh.ruff
Let's continue installing extensions, since i can't debug that [Administrator]
i have allat
Now, make a new file named first.py
how
a file or folder
file
did it
now paste print("hello") in the file
write print("Hello, world")
and you should be able to run it using the play button top right
ok i did it
- Now open terminal
ok i did
what
i did
screenshot of full VSCode?
i did
'
make sure there is no whitespace before the print
Ctrl+S
if you run the file using the same command in the terminal
do you now see Hello, world as output?
ye
what is your goal ?
.pys wont work
you want to open .py from someone?
well you made one ??
i mean
go to file explorer
yeah but the ones i have wont open
okay right click on a file
yea]
and then open with > vscode
and then it will also have a checkbox (open py files by default with vscode)
you really don't want to be running a py file that someone sent you as Administrator
true tho
its a discord thing
discord bot?
where do you find this project?
its js discord.py
from here
oh but that's not how that works
it js opens and closes
how do i run it
how do people have it working
so... these are packages
you can install them with pip install package
python -m pip install -U "discord.py[voice]"
wow
the thing is you don't have py, you have python. that's it
its working?
have you ever touched python?
uh how do i open
or first time
you can go to your first.py file
and do import discord at the top
then you can work with it
can u giv
python -m pip install -U colorama
how do i open single files
python filename.py
filename what
the name of "single file"
it dont work
what are you trying to do here...?
you cannot open discord.py
or colorama
like that
is this your first time using python?
yeah
hmmm, I strongly encourage you to do some basics first
instead of straight up jumping into discord bot
i needa open single apps
but discord.py does not provide you a bot out of the get-go
i need a single .py
be more precise...
okay
you want to make a bot...right?
noo
or do you have a bot from someone else?
actually its js discord mods
what?
yes?
how do i run
Can you share this discord mod code? It may have other dependencies that you have to install first in order for it to run properly
Can you share the code please?
priva
So that everyone can easily read your code, you can paste it in this website:
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.
oh
did you get the files for the mods from a friend or online?
what does this discord mod do?
okay but you have to download them in order to run them?
yeah
so can you show file explorer containing those?
private brah
why not share it here?
uh
well again the pip install command but with setuptools
btw why don't you ask your friend??
alrighty
so this is done now?
whats a discord token
it's an authentication key for the bot
this is easily googleable
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.