How do I resolve an EnvironmentalError in Ubuntu 20.04 during a collected package installation using a Python 3.9.5 environment?

It downloads the packages in the Python environment but refuses to install due to permission issues. Here's the error prompt at the bottom:

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
6 months ago

The user of the context in which the installation is running will simply not have write permissions for the folder. You can chown reposition.

Example:

sudo chown -R your_username:your_username path/to/virtual/env/