#๐Ÿ”’ pip not wo

407 messages ยท Page 1 of 1 (latest)

wet pier
#

someone @tardy dust ๐Ÿ˜ญ

lime knollBOT
#

@wet pier

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.

tardy dust
#

by going to python.org , downloading the installer and running it ?

wet pier
#

3;13

#

yuhh

tardy dust
#

close your current terminal , open a new one , and type in py -0p and show the output

wet pier
#

same thing

tardy dust
#

show screenshot please

wet pier
#

๐Ÿ˜ญ๐Ÿ˜ญ

tardy dust
#

can you double check python is installed ? i really think you didnt install python

wet pier
#

been there yo

tardy dust
wet pier
#

now what

#

๐Ÿ˜ญ

#

uhh

tardy dust
#

show me the path

wet pier
#

??

#

ohh

#

path

#

that?

tardy dust
wet pier
#

yeah

tardy dust
#

very weird

wet pier
#

ive tried everything

#

i wanna open .pys

#

i cant even open those

tardy dust
#

can you run where python ?

wet pier
#

where python?

tardy dust
#

yes , run that in terminal

wet pier
#

nothings poppingu up

rustic echo
#

Try python -m pip install something

tardy dust
#

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 ?

wet pier
tardy dust
#

why didnt it show output for where python

wet pier
#

idk

rustic echo
#

Try python --version

#

python3 --version

wet pier
#

obvi that works

plush radish
#

Where did you install python from? python.org, right?

wet pier
#

ya

silver nexus
wet pier
#

i already tried everything

#

://

rustic echo
#

@j, is your issue not fixed?

wet pier
#

nope

rustic echo
#

what is it?

wet pier
#

idk

silver nexus
#

what happens if you run pymanager ?

rustic echo
#

what are you pip'ing

wet pier
#

whats

#

pymanager

rustic echo
#

new python installer?

wet pier
#

oh yeah

#

i did that

rustic echo
#

what do you want to pip install?

wet pier
#

i js want to open .pys

#

and pip would be cool

rustic echo
#

oh, so you don't know "how to install pip"?

wet pier
#

i do ๐Ÿ˜ญ

#

every tutorial didnt work tho

rustic echo
wet pier
#

tutorials

rustic echo
#

which tutorials?

wet pier
#

uh

#

pip install tuts

silver nexus
#

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

rustic echo
#

what's tuts?

wet pier
#

that tut

#

idk what else

rustic echo
#

pip is already installed in python, btw.

wet pier
#

not for me

silver nexus
rustic echo
#

it's builtin

silver nexus
#

this tutorial is incorrect

wet pier
#

no .py files work tho

rustic echo
#

use python -m pip install numpy to install numpy etc

#

okay, so let's start from beginning.

wet pier
#

its done

rustic echo
#

What's your favorite text editor?

#

or, you don't have one?

wet pier
#

my what

#

im new

#

๐Ÿ˜ญ

rustic echo
#
  1. Install VSCode.
silver nexus
#

installing VSCode is a great choice

rustic echo
wet pier
#

i have it already

rustic echo
#
  1. Make a new folder, somewhere
silver nexus
#

VSCode is an IDE, IDEs are a type of text editor

rustic echo
#

do not use space in that folder

wet pier
#

what now

rustic echo
#
  1. Right click that folder, click open in VSCode
wet pier
#

what folder

rustic echo
#

that you created in step 2.

silver nexus
#

make a folder named first_project for example

wet pier
#

okay i did

rustic echo
#

is vscode opened?

wet pier
#

ya

silver nexus
#

can you screenshot this?

wet pier
#

ss what idont get shit

silver nexus
#

the vscode window

wet pier
rustic echo
#

Press Ctrl+P, and type ext install ms-python.python

#

and then, enter

silver nexus
#

it reads "you have not yet opened a folder" so you didn't follow the instructions correctly

rustic echo
#

Click Open folder in right side

#

make new folder in Documents.

wet pier
#

ctrl r what dpes

#

what does

#

ctrl p

#

do

silver nexus
#

ctrl+p opens the command palette

rustic echo
#

and ext install installs extension.

wet pier
#

ist not doing any

#

thing

silver nexus
#

screenshot what you have

rustic echo
#

ok, let's start again.

#

close VSCOde

wet pier
#

nvm

#

it did

rustic echo
#
  1. Open Documents and make new folder named VSCode
wet pier
#

okk

rustic echo
#
  1. Open VSCode, press Ctrl+K Ctrl+O.
#

it'll open file browser, select Documents/VSCode

#

that you created in step 1

wet pier
#

do i save it

rustic echo
#

save what, screenshot is worth 1000 words.

wet pier
#

nothings

#

working

silver nexus
#

screenshot please

wet pier
#

ctrl k

rustic echo
#

its' O, MNOP one

#

not 0 zero

wet pier
#

ok it works

#

do i press select

rustic echo
#

screenshot?

wet pier
rustic echo
#

select folder

wet pier
#

i did

silver nexus
#

screenshot the result

wet pier
silver nexus
#

screenshot the whole window

wet pier
silver nexus
#

this is explorer not the folder selector

wet pier
#

im stupid yo

silver nexus
#

close this window and go back to vscode

wet pier
#

ok im back

rustic echo
#

screenshot VSCode

wet pier
#

that

rustic echo
#

ext install ms-python.vscode-pylance
ext install ms-python.python
ext install charliermarsh.ruff

silver nexus
#

the whole window please

rustic echo
#

one by one, install by Ctrl+P

wet pier
silver nexus
#

vscode [Adminstrator] looks worrying you should not be running vscode as admin

wet pier
#

is that bad

#

now what

#

i instgalled allat

silver nexus
#

I'm not a windows expert but I think it's bad

rustic echo
#

yep, that's very bad indeed.

wet pier
#

do i close it

rustic echo
#

it shouldn't be opened/installed as admin.

#

did you opened it by double clicking, or did you run as admin

wet pier
#

no

#

should i close it

rustic echo
#

"no" what

silver nexus
#

how did you open vscode?

wet pier
#

i clicked it once

#

actually idk

#

sgould i clsoe it and reooe

#

reopen

silver nexus
#

screenshot what you clicked to open vscode

wet pier
#

oh

#

its js says admin

silver nexus
#

screenshot please

wet pier
#

i js press open

silver nexus
#

you keep cutting off the whole window, don't do this

wet pier
#

oh

#

soo

#

what now

rustic echo
#

click Open

wet pier
#

i did

#

it js says admin

#

so wat now

tribal trellis
#

okay so

wet pier
#

so what

rustic echo
#

The default location for the executable is C:\Program Files\Microsoft VS Code\Code.exe

wet pier
#

its off

silver nexus
#

screenshot the window with the checkbox

wet pier
silver nexus
#

try closing all vscode windows and opening a fresh one

wet pier
#

i have

#

multiple times

rustic echo
#

which installed did you used?

#

VSCodeSetup or VSCodeUserSetup?

wet pier
#

user

rustic echo
#

see downloads folder, maybe/

wet pier
#

its user

#

i can see

#

uhh

rustic echo
#

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]

wet pier
#

i have allat

rustic echo
#

Now, make a new file named first.py

wet pier
#

how

rustic echo
#
  1. Open Explorer Ctrl+Shift+E
#

click this New file icon

wet pier
#

a file or folder

tribal trellis
#

file

wet pier
#

did it

tribal trellis
#

now paste print("hello") in the file

rustic echo
#

write print("Hello, world")

tribal trellis
#

and you should be able to run it using the play button top right

wet pier
#

ok i did it

rustic echo
#
  1. Now open terminal
wet pier
#

ok i did

rustic echo
#

inside VScode, by Ctrl + `

#

that `, above tab.

wet pier
#

what

rustic echo
#

Open terminal inside VSCode by Ctrl + `

#

` is above TAB buton

wet pier
#

i did

rustic echo
#

python first.py

#

inside terminal

wet pier
#

ok

#

now what

rustic echo
#

screenshot of full VSCode?

wet pier
#

i did

rustic echo
#

send screenshot of VSCode.

#

with terminal and explorer open.

wet pier
tribal trellis
#

make sure there is no whitespace before the print

rustic echo
#

before running

wet pier
#

gemme a sec

#

ok

#

how i save

#

?

rustic echo
#

Ctrl+S

wet pier
#

okk

#

now what

tribal trellis
#

if you run the file using the same command in the terminal

#

do you now see Hello, world as output?

wet pier
#

ye

tribal trellis
#

alright great !

#

now all is good

wet pier
#

what that mean

#

i still cant open .py files

tribal trellis
#

what is your goal ?

wet pier
#

.pys wont work

tribal trellis
#

you want to open .py from someone?

wet pier
#

for me as a app

#

yes'

tribal trellis
#

well you made one ??

wet pier
#

i mean

tribal trellis
#

go to file explorer

wet pier
#

yeah but the ones i have wont open

tribal trellis
#

okay right click on a file

wet pier
#

yea]

tribal trellis
#

and then open with > vscode

#

and then it will also have a checkbox (open py files by default with vscode)

silver nexus
#

you really don't want to be running a py file that someone sent you as Administrator

tribal trellis
#

true tho

wet pier
#

its a discord thing

tribal trellis
#

discord bot?

wet pier
#

kinda

#

no a panel thingy

rustic echo
#

where do you find this project?

wet pier
rustic echo
#

from GitHub? link please?

#

so, that i can see how to run it.

wet pier
#

from here

tribal trellis
#

oh but that's not how that works

wet pier
#

it js opens and closes

tribal trellis
#

nonono

#

that's not how it works

wet pier
#

how do i run it

tribal trellis
#

it's not a single file

#

you cant just run it

wet pier
#

how do people have it working

tribal trellis
#

so... these are packages

rustic echo
#

They use Python to code it up.

#

see import discord

tribal trellis
#

you can install them with pip install package

wet pier
#

how do i use it

#

i cant install pip

tribal trellis
#

you should have pip

#

it comes by default

rustic echo
wet pier
#

wow

rustic echo
#

the thing is you don't have py, you have python. that's it

wet pier
#

its working?

tribal trellis
#

have you ever touched python?

wet pier
#

uh how do i open

tribal trellis
#

or first time

tribal trellis
#

and do import discord at the top

#

then you can work with it

wet pier
#

now i need

#

\colorama

tribal trellis
#

same thing

#

pip install command

wet pier
#

can u giv

rustic echo
#

python -m pip install -U colorama

wet pier
#

how do i open single files

rustic echo
wet pier
#

filename what

rustic echo
#

the name of "single file"

wet pier
#

it dont work

tribal trellis
#

or colorama

#

like that

wet pier
#

ik

#

dc bot

tribal trellis
#

is this your first time using python?

wet pier
#

yeah

tribal trellis
#

hmmm, I strongly encourage you to do some basics first

#

instead of straight up jumping into discord bot

wet pier
#

i needa open single apps

tribal trellis
#

but discord.py does not provide you a bot out of the get-go

wet pier
#

i need a single .py

rustic echo
#

yeah, first copy that "single file" to vscode, btw

#

vscode folder in Documents.

tribal trellis
wet pier
#

okay

tribal trellis
#

you want to make a bot...right?

wet pier
#

noo

tribal trellis
#

or do you have a bot from someone else?

wet pier
#

actually its js discord mods

tribal trellis
#

okay...

#

so you have code from a friend or?

wet pier
#

yeah

#

well

#

i js need his user id

#

got it now wha

tribal trellis
#

what?

wet pier
#

idk

#

so

tribal trellis
#

yes?

wet pier
#

how do i run

tardy onyx
wet pier
#

it dosent

#

how i run i wanna test

tardy onyx
#

Can you share the code please?

wet pier
#

priva

lime knollBOT
#
Pasting large amounts of code

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.

wet pier
#

oh

tribal trellis
#

did you get the files for the mods from a friend or online?

wet pier
#

friend

#

he said its private

tribal trellis
#

can you show the files he sent in file explorer?

#

like screenshot

wet pier
#

uhh'

#

he sent thru dc

tardy onyx
tribal trellis
wet pier
#

yeah

tribal trellis
#

so can you show file explorer containing those?

wet pier
#

js a single file

#

in downloads

tardy onyx
wet pier
#

private brah

tardy onyx
wet pier
#

uh

tribal trellis
# wet pier

well go to terminal and python panel.py should do it

wet pier
#

yoo

#

wby setuptools

#

i need setuptools

#

@tribal trellis

tribal trellis
#

btw why don't you ask your friend??

wet pier
#

i fixed it

#

already

tribal trellis
#

ok...

#

also interesting name

wet pier
#

it was a dare

#

๐Ÿ˜ญ

tribal trellis
#

alrighty

tribal trellis
wet pier
#

whats a discord token

tribal trellis
#

it's an authentication key for the bot

wet pier
#

how do i get it

#

??

tribal trellis
#

this is easily googleable

lime knollBOT
#
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.