#๐Ÿ”’ hey i need help

93 messages ยท Page 1 of 1 (latest)

midnight olive
brazen spireBOT
#

@midnight olive

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.

midnight olive
brazen spireBOT
midnight olive
#

i have every module downloaded, i have python downloaded

shrewd adder
#

where did you download python from and how did you install the packages

midnight olive
#

i downloaded the python via microsoft store. and i downloaded cv2 and everything via cmd, pip install [module]

shrewd adder
#

it might have to do with your python installation, the microsoft store is never recommended

#

try install it from the python official website instead

midnight olive
#

i did it ant now it shows this

shrewd adder
#

the file ur trying to run doesnt exist

midnight olive
#

reportMissingImport

#

ReportMissingModuleSorce

shrewd adder
#

the file ur trying to run doesnt exist

midnight olive
#

the script?

midnight olive
#

im running it

shrewd adder
#

and it doesnt exist

midnight olive
#

how do i make it exist

shrewd adder
#

select the correct path when trying to run it

midnight olive
#

and how do i make that

shrewd adder
#

find the file in your file explorer

#

right click it and press "copy as path"

midnight olive
#

okay wait

shrewd adder
#

or you could try simply double clicking it

midnight olive
#

okay i did it

#

and it shows the same problem

midnight olive
midnight olive
#

and it still dont work

#

maybe its something in my script that dont work?

shrewd adder
midnight olive
shrewd adder
#

run py -m pip list in your terminal

fleet wave
#

did you uninstall the microsoft store - python.. what ever they have there, before installing it the right way?

If yes, did you also pip install the modules you are using again afterwards?

midnight olive
#

what now

fleet wave
#

(also check the path box during install)

#

(if you havent)

midnight olive
fleet wave
#

during install, using the link @shrewd adder provided, you'll go through a few windows. in one of them is a box you can tick it reads something like
'add to PATH' or similar.

if that box isnt checked you have a harder time to run .py files.

However, before installing anything, make sure you uninstalled other installations first. easiest way to run into problems -> microsoft store ๐Ÿ˜„

#

Sorry for the ping!

shrewd adder
shrewd adder
fleet wave
#

good

midnight olive
#

in terminal?

shrewd adder
#

py -m pip install --upgrade pip

#

if you want to update pip

midnight olive
midnight olive
fleet wave
midnight olive
#

now what

fleet wave
#

uninstall all the python stuff you got. double check its all gone. install again using the link given by siqius, make sure to check the add to path box during install.

#

you could manually add it to path, but this way is easier for beginners

midnight olive
#

what path should i add?

fleet wave
#

none, the installer does it for you. you only tick a box for it during install and let the wizard do its job.

midnight olive
fleet wave
#

well, if the microsoft version was removed before you should be able to upgrade pip now

midnight olive
#

what not

#

now i need to download modules?

#

somehow?

fleet wave
#

do the pip list thing first to see if your version is up to date (and the installation was clean, cause if it was done right you can upgrade pip)

fleet wave
#

yes

midnight olive
#

it shows this

fleet wave
#

pip list is harmles, only shows you installed packages and complains when the pip version is out of date.

midnight olive
fleet wave
#

open cmd and type
python
then hit enter. If it shows you some gibberish about versions you are good to go and can pip install the modules your python script uses next.

if it returns some error the installation or rather adding it to path wasn't done correctly.

midnight olive
fleet wave
#

๐Ÿ’€

midnight olive
#

thats wild

fleet wave
#

install not done correctly, or uninstalling versions you installed before the last install not done correctly.

#

OR path box wasnt checked during install.

#

as long as this doesnt work you can't continue and have to go back to the first steps.

#

wait a second..

#

hmm.. never mind.

#

when you got it installed correctly and run
python
in cmd it throws you into a direct python interpreter.
when it does that you leave by typing

exit()``` 
next. 

we just use it to test if everything works.
midnight olive
#

so i need to uninstall python again?

#

okay i download the lastest python

#

i did it

#

and it still direct me to the microsoft

#

i download it too

brazen spireBOT
#
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.