#๐Ÿ”’ I cant install pip

43 messages ยท Page 1 of 1 (latest)

brittle mantle
#

I watched several tutorials on youtube and I cant download it

tender tideBOT
#

@brittle mantle

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.

hasty island
brazen girder
#

Are you on Linux?

brittle mantle
#

Win10

brazen girder
#

Oh alr

#

I'm not sure if this matters in this scenario but did you check the box when installing python that said something like "add to path"?

brittle mantle
#

I think so

#

It was a long time ago

#

a year or so

brazen girder
#

Ok, how are you attempting to run pip, are you typing "pip" in the terminal?

brittle mantle
chrome plume
#

If you py -m pip --help, what happens?

brittle mantle
chrome plume
#

Odd, ok.

#

How'd you install Python?

brittle mantle
#

from the official website

chrome plume
#

The module usually comes packaged with the python installation.
Perhaps there was a checkbox unchecked to remove it or something?

Might be worth re-installing it.

#

You could also try py -m ensurepip

brittle mantle
#

ok let me try it

chrome plume
#

Well, try py -m pip --help again.
(separately you'll want to address that warning, by adding the Scripts directory into PATH)

#

!windows-path

#

(that didn't explain it well enough, sorry)

brittle mantle
brazen girder
#

Looks like pip is now working if you weren't aware.

brazen girder
brazen girder
#

Looks like it's not on your path... If you followed the link already then try closing the terminal and reopening it.

brittle mantle
#

no I havent

brazen girder
#

Oh

#

Well then do that

brittle mantle
#

ok

brazen girder
#

Or you could always prefix it with py -m and it would work

brittle mantle
#

what does the link help me with

brazen girder
#

It makes it so you can just type pip and don't need to prefix it with py -m for it to work, sorry for the late response.

#

You could probably just reinstall Python and not need to worry about all this.

#

Just remember to check the box that says add to path

tender tideBOT
#
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.