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

Python Setting Up a Local Python Environment Installing Python and Python Libraries Locally Using pip

sidni ahmed
sidni ahmed
3,329 Points

'pip' is not recognised. why do i get this?

pip was installed automatically when installing python. But when i type 'pip' i get this:


3 Answers

Hi Sidni

Locate your python scripts path e.g 'C:\your python version\Scripts' this needs to be added to the PATH system variable. You can access the PATH system variable like so, Computer->Properties->Enviroment variables -> System Variables -> Click on Path and edit -> add in the above path.


sidni ahmed
sidni ahmed
3,329 Points

thanks guys, my Path system variable was a mess. All sorted now :)