#๐Ÿ”’ Anyone know what could be causing this?

56 messages ยท Page 1 of 1 (latest)

thin shadow
#

i entered it into the terminal, I'm using Pycharm.

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 opencv-python
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException```
karmic ravineBOT
#

@thin shadow

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.

thin shadow
#

its supposed to install a library but gives an error message instead

#

did u installed python?

#

yeah, latest version

#

ok then seems like u didnt added it to the path

thin shadow
#

go to environment variables and check if its there or not

#

where is environment variables? :p

#

just type it in the windows search bar

#

"Edit the system's environtment variables" this one right?

#

yes

#

it opens a system properties window

#

do u see a variable named path

#

this one?

#

yes

#

i see two

#

one is in user variables and one inn system variables

#

ok open it and see if there is a path to python or not

#

the pne in system variables?

#

one*

#

if u are the only user it doesnt matter

#

Alright

#

yeah i see one called python

#

its called smth like programs/python/launcher

#

just one?

#

yeah

#

ok lets add it manually then

#

do u know where ur python folder is?

#

wait ill find it

#

it should be named like Python312

#

i see one called python 3.12.4-amd64

#

thats a file not the folder

#

cant find one with a similar name

#

i have to find the folder with python or my pycharm file?

#

use ur file explorer to find a folder named Python312

#

it says no items match your search

#

hmm

#

then we would have to reinstall

#

alright

#

and add it to the path

#

dont use the default options this time

#

wdym?

#

while installing u will see a checkbox saying "add to path" it will be unchechecked by default

#

but u have to check it

#

Alright got it

thin shadow
#

alright done, i checked the add to path options

#

great

#

does it work now?

#

it does!

#

thanks so much for the help : D

#

congo, if all ur issues are resolved u can close the post with !close

#

alright

#

!close

karmic ravineBOT
#
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.