Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


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

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"