I created a virtual environment for python3.5
using python3 -m venv --system-site-packages <venv>
.
Now when installing packages inside the virtual environment using pip3
I get the following error:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.5/site-packages'
Why does pip want to install the packages at /usr/lib/python3.5/site-packages
and not at <venv>/lib/python3.5/site-packages
?