#🔒 Pip wont work

38 messages · Page 1 of 1 (latest)

iron shadow
#

Hi guys my friend is trying to install a python addon named tkinter but he cant because pip doesnt work if he writes pip in the cmd everything is fine but on vscode pip doesnt seem to work he did all the thinks that on youtube is shown that should fix it but it wont

lime irisBOT
#

@iron 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.

jolly root
dusk ibex
#

the problem there is that python is not to added to PATH

#

or pip specifically

#

I belive

#

I had the same error and solved just by checking my Path and adding pip and python

iron shadow
#

he added it

#

you mean on env or what its called

#

right?

dusk ibex
#

no

#

try pip --version and python --version

#

if it gives an error is because he has to add it to PATH

iron shadow
#

should he enter it in cmd or vscode terminal

dusk ibex
#

its something related to windows

#

its the computer PATH, so the system can relate the command with the functionality of PIP

iron shadow
#

we already did it

#

if he typed in pip --vesion it shows this pip 24.2 from C:\Users\rudi\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip (python 3.12)

dusk ibex
#

oh

dusk ibex
#

if he just import it, does it work?

#

and dont install

iron shadow
#

with tkinter yes but if its something else it wont

#

for example if he tries to import pyautogui it wont work

#

and he also cant type in pip install pyautogui because than the error that i showed above shows up

#

with py --vesion it shows Python 3.12.6

dusk ibex
#

hmm ok

#

can you send a print of that?
pip install pyautogui

iron shadow
#

yes

#

PS C:\Users\rudi\OneDrive\Desktop\maniak> pip install pyautogui

pip : Die Benennung "pip" wurde nicht als Name eines Cmdlet, einer
Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt.
Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt
ist (sofern enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1

  • pip install pyautogui
  •   + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandN
     otFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
#

its german but i hope its not a big deal

white bane
#

try python -m pip install pyautogui

iron shadow
#

to make it clear should he type this pip install pyautogui into the terminal of his python file in vscode or in the cmd?

austere elk
#

cmd

iron shadow
#

we fixed it

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