-5

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/virtualenv.pyc' Consider using the --user option or check the permissions.

Rahul
  • 10,000
  • 4
  • 47
  • 84
Sourav
  • 1
  • 1

2 Answers2

1

As the error says, try using the --user flag

pip install --user Django
0
pip install Django

or pip3 install Django for pip3 and python3

Aula
  • 91
  • 1
  • 3