On Thursday, February 2, 2017, Tadej Janež tadej.j@nez.si wrote:
Which in turn means 'pip3 install Django' actually used the system-wide pip3 command which tried to install Django to the system-wide location and failed.
After you create your Python 3 virtualev, what files are in the bin directory of your Pythin 3 virtualenv? Is there a pip file?
Once you are inside your virtualenv and sourced the bin/activate script, my advice to you is to either:
- just run the command "pip" - run the command "python -m pip"
The second way looks for the pip module in PYTHONPATH, instead of a pip script in PATH.
-- Craig