Reputation: 504
I have been trying to install django 1.8 on virtualenv, i performed the following steps:
pip install django == 1.8
Nothing worked
also, tried pip install django
and easy_install django
, however, none worked.
Could you please help me out ?
Upvotes: 0
Views: 512
Reputation: 2400
Like you haven't shared the output error, I suggest some actions:
Go to CMD change the python instalation directory C:\>cd \Python27\Scripts
and type C:\Python27\Scripts>pip -h
If works well you can use the absolute path C:\Python27\Scripts>pip install "django==1.8"
or add the path of your pip installation to your PATH variable using the command above:
C:\Python27\Scripts>setx PATH "%PATH%;C:\Python27\Scripts"
SUCCESS: Specified value was saved.
Another attempt is updating pip scripts using easy_install
(FlaskEnv27) E:\Projects\FlaskEnv27\Scripts>easy_install pip Searching for pip Best match: pip 1.5.6 Removing pip 1.3.1 from easy-install.pth file Adding pip 1.5.6 to easy-install.pth file Installing pip-script.py script to E:\Projects\FlaskEnv27\Scripts Installing pip.exe script to E:\Projects\FlaskEnv27\Scripts Installing pip.exe.manifest script to E:\Projects\FlaskEnv27\Scripts Installing pip3.4-script.py script to E:\Projects\FlaskEnv27\Scripts Installing pip3.4.exe script to E:\Projects\FlaskEnv27\Scripts Installing pip3.4.exe.manifest script to E:\Projects\FlaskEnv27\Scripts Installing pip3-script.py script to E:\Projects\FlaskEnv27\Scripts Installing pip3.exe script to E:\Projects\FlaskEnv27\Scripts Installing pip3.exe.manifest script to E:\Projects\FlaskEnv27\Scripts
Using c:\python27\lib\site-packages Processing dependencies for pip Finished processing dependencies for pip
Upvotes: 0
Reputation: 934
One problem could be that the command line doesn't tokenize the command correctly. Try the following (with the quotes around the requirement specifier):
pip install "django==1.8"
Upvotes: 1