I am trying to install Django via pip installer under virtual environment.
I followed following steps:-
- Installing virtual environment
- Activating virtual environment
- Installing Django using pip, this is where I am facing problem.
The command I typed in command prompt is as follows:
C:\hello-world\venv\Scripts\pip install Django==1.7.1
The error I am getting is:-
c:\hello-world\venv\Scripts>pip install Django==1.7.1
ack (most recent call last):
"c:\miniconda3\Lib\runpy.py", line 170, in _run_module_as_main
_main__", mod_spec)
"c:\miniconda3\Lib\runpy.py", line 85, in _run_code
ec(code, run_globals)
"c:\hello-world\venv\Scripts\pip.exe\__main__.py", line 5, in <module>
Error: cannot import name 'main'
Please let me know if more info is needed.