#๐Ÿ”’ Pip is not working

43 messages ยท Page 1 of 1 (latest)

lucid vigil
#

I am trying to install flask, but the pip part is not recognized. Anyone know how to fix it?

cedar arrowBOT
#

@lucid vigil

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.

gray pulsar
#

can u try

lucid vigil
#

Yea

gray pulsar
#

py -0p

#

see what that outputs

lucid vigil
#

On the terminal right?

gray pulsar
#

ye

opaque musk
#

i knew it, it was powershell. my spidey senses knew from the moment he mentioned colored text at the terminal

lucid vigil
#

Result

gray pulsar
#

cool

opaque musk
#

try python -m pip install flask

gray pulsar
#

now try py -m pip instead of just pip

opaque musk
#

isnt py a windows only thing

lucid vigil
gray pulsar
opaque musk
#

thon

lucid vigil
#

Ow shi

gray pulsar
#

i love the damn thing tbh

#

so useful for version management

lucid vigil
#

It worked? Maybe?

gray pulsar
#

it did yes

#

congrats

#

now let me explain to u what exactly that command doing

gray pulsar
#

thats ur default python.exe

#

when u do py -m pip install flask u installing flask to that python in specific

#
C:\Users\Dagger\aseprite\build>py -0
 -V:3.13 *        Python 3.13 (64-bit)
 -V:3.12          Python 3.12 (64-bit)

in my case if i wanted to install to another one like 3.12 i would do py -3.12 -m pip install flask

lucid vigil
#

ahhh

gray pulsar
#

this is important to note incase u installing to one python and vsc or watever using another completely different one

lucid vigil
#

Okay, so basically using the py -m is telling the program to specifically install on python?

gray pulsar
#

its calling the pip module of that python

#

so it will do stuff to that specific python

#

makes sense ? pithink

lucid vigil
#

Makes a lot of sense

#

Thanks man, I am trying to make a client side website for a school assignment. This really helped. I might post here again very soon, maybe if I found myself stuck again haha (Hopefully I dont)

gray pulsar
#

u welcome to post anytime pithink

cedar arrowBOT
#
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.