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 trialIskander Ismagilov
13,298 Pointspip usage
When I try to use pip, e.g.:
pip install django
shell just waits and does not do anything.
I could have installed django only using:
python -m pip install django
Why can I not just use first command? Is it because of some powershell restrictions? I use Windows 7.
And the same stays when I try to start project:
django-admin.py startproject learning_site
shell keeps waiting and doesn't do anything.
2 Answers
tomasvukasovic
24,022 PointsHey you have to give it time, did you install pip already?, also the last command is django-admin startproject learning_site
you are adding a .py there that doesn't belong
Erika Suzuki
20,299 PointsMake sure your Python and pip path is defined on your environment. I could only elaborate if you were using Linux or Unix. On Windows, as I remember , it seems to be under Computer properties > advanced > environment variables?. Google if you may.