Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


How to install pip on windows?

I wanna install pip on windows, because I wanna take the flask basics course. I already have python installed. How do I install pip and flask?

1 Answer

ellie adam
ellie adam
26,376 Points

Hi there,

Try this https://pip.pypa.io/en/latest/installing.html

python get-pip.py If setuptools (or distribute) is not already installed, get-pip.py will install setuptools for you. [3]

To upgrade an existing setuptools (or distribute), run pip install -U setuptools. [4]

Additionally, get-pip.py supports using the pip install options and the general options. Below are some examples:

Install from local copies of pip and setuptools:

python get-pip.py --no-index --find-links=/local/copies Install to the user site [5]:

python get-pip.py --user Install behind a proxy:

python get-pip.py --proxy="[user:passwd@]proxy.server:port"