Installing Django with pip


Question

Trying to install Django from cmd with pip.

Python 2.7.3, Windows 7

Env var(...C:\Python27;C:\Python27\Lib\site-packages\;C:\Python27\Scripts\;)

    help("pip")
    .
    .
    .
    .
    VERSION
        1.3.1

    pip install Django
    File "<stdin>", line 1
    pip install Django
          ^
    SyntaxError: invalid syntax
1
17
7/1/2014 9:51:57 AM

Accepted Answer

Run pip install django from windows command prompt instead of python shell.

32
3/19/2013 5:13:31 AM

under the folder C:\Python27\Scripts (or the folder you installed pip), press SHIFT and right click a blank space then select open command window here, run

pip install Django

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon