#๐Ÿ”’ help please with installing python

74 messages ยท Page 1 of 1 (latest)

worthy zephyr
#

.

candid wharfBOT
#

@worthy zephyr

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.

worthy zephyr
#

im having problems with installing python

#

i "installed" python but when i type py or python in py terminal it says py is not defined

midnight bay
#

u have to add it to path google it

#

or type python3

worthy zephyr
#

i googled it

midnight bay
#

well u didn't look

worthy zephyr
#

i dont even have python in program files

ocean kindle
ocean kindle
#

What is the exact error?

midnight bay
#

did u type python3

worthy zephyr
#

well i tried to install pygame in visual studio code and typed pip install pygame (i thought that python and pip are installed)

#

but it said that pip is not the thing

#

i checked like 15 sites

#

and nothing

worthy zephyr
midnight bay
#

In cmd

#

mb u have to open a python file with it

#

if u just type it it'll say its not recognized

#

nvm

#

idk lol now my install is messed up

#

for one of those py python or python3 if you type in your cmd it should return something about the version

worthy zephyr
midnight bay
#

how did u install it

worthy zephyr
#

python.org - 3.12.2 - installer - opened terminal to check

midnight bay
#

it's gotta be somewhere on one of ur drives

#

idk what component exactly but you have to add it to path before u can use it in command line

ocean kindle
#

Or whatever it says. There will be an option like that. Then close and reopen the terminal.

#

And try again.

worthy zephyr
#

any of these

ocean kindle
#

Next

worthy zephyr
#

oh i see

ocean kindle
#

Fourth option.

worthy zephyr
#

anything else except for this?

ocean kindle
#

You need to have the executables on the PATH for the terminal to find them.

And k light as well recompile too.

#

Might as well*

#

Precompile*

#

Stupid SwiftKey

worthy zephyr
ocean kindle
#

Fifth option

midnight bay
#

not necessary tho all u need is environment variables

ocean kindle
#

Ya, for your current problem, you just need option four.

midnight bay
#

and there u go its in appdata if u need to add it manually

#

I think for me the installer didnt work to add it to path and caused a lot of headache but see if it works

ocean kindle
#

And make sure you restart the terminal after. The terminal you have open has the old, unupdated variables.

worthy zephyr
midnight bay
#

fax

ocean kindle
#

There you go.

#

>>> means you're in a Python REPL.

midnight bay
#

does ur pip work

worthy zephyr
worthy zephyr
midnight bay
#

u probably have to manually install i had the same problem

#

theres lots of youtube videos about it

#

pretty easy

ocean kindle
#

You have Python installed. You need to run pip in the cmd shell, not the Python shell.

#

Type quit() then run pip.

worthy zephyr
ocean kindle
worthy zephyr
#

this thing?

ocean kindle
#

I don't speak Russian/Ukrainian, but that looks right.

worthy zephyr
#

it works

ocean kindle
#

There you go. Make sure you understand what shell you're in, since that determines what you can run.

#

>>> means Python.

worthy zephyr
#

im gonna work in VS ode anyways

#

!close

candid wharfBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.