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 trialGabriel Ward
20,222 Pointspip install django not working
When I type
''' python pip django install '''
I get the following error
File "<stdin>", line 1 pip install django ^ SyntaxError: invalid syntax
I'm not sure where I'm going wrong. I am using my Windows Command Prompt, and I'm in python. I have just installed latest version of Python, which I think comes with pip.
1 Answer
crosscheckking
25,155 PointsI think you just need to type "pip install django" straight into the command prompt (I'm on a mac, and I just typed "pip3 install django" internal the terminal [without python open]and it told me I had it already install because I installed it at an earlier date [just wanted to check to make sure it would bring this up to make sure I was correct]. The reason I used pip3 is because I have python 2 and python 3 and I need to specify which one.) Let me know if this helps.
Gabriel Ward
20,222 PointsGabriel Ward
20,222 PointsThanks for your reply John, I'm on Windows. I just sorted the problem, I think I needed to modify my PATH to Python to include Scripts.