Skip to main content
added 8 characters in body
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which throws permission errors:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

Could not install packages due to an EnvironmentError: [Errno 13] 
Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

After adding sudo to pip command sudo pip install Flask installation is successful; however, when i pip list installed packages it doesn't show newly installed ones. What could be the problem?

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which throws permission errors:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

After adding sudo to pip command sudo pip install Flask installation is successful; however, when i pip list installed packages it doesn't show newly installed ones. What could be the problem?

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which throws permission errors:

Could not install packages due to an EnvironmentError: [Errno 13] 
Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

After adding sudo to pip command sudo pip install Flask installation is successful; however, when i pip list installed packages it doesn't show newly installed ones. What could be the problem?

deleted 41 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 237

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which throws permission errors:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

After adding sudo to pip command sudo pip install Flask installation is successful; however, when i pip list installed packages it doesn't show newly installed ones. Please advice, whatWhat could be the problem and what i am doing wrong?

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which throws permission errors:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

After adding sudo to pip command sudo pip install Flask installation is successful; however, when i pip list installed packages it doesn't show newly installed ones. Please advice, what could be the problem and what i am doing wrong?

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which throws permission errors:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

After adding sudo to pip command sudo pip install Flask installation is successful; however, when i pip list installed packages it doesn't show newly installed ones. What could be the problem?

Source Link
ussrback
  • 155
  • 2
  • 5

Problem with pip package installation in virtualenv environment

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which throws permission errors:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/www/flask/apnisi/venv/lib/python3.5/site-packages/werkzeug'

After adding sudo to pip command sudo pip install Flask installation is successful; however, when i pip list installed packages it doesn't show newly installed ones. Please advice, what could be the problem and what i am doing wrong?