The following error is reported when executing pip install:
Could not install packages due to an Environment Error: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/kiwisolver.cpython-35m-x86_64-linux-gnu.so'
Consider using the `--user` option or check the permissions.
solution:
Linux / macOS
From your terminal, you can install the package for your user only, like this:
pip install <package> --user
OR
You can use su
or sudo
from your terminal, to install the package as root
:
sudo pip install <package>
Windows
From the Command Prompt, you can install the package for your user only, like this:
pip install <package> --user
OR
You can install the package as Administrator, by following these steps:
- Right click on the Command Prompt icon.
- Select the option
Run This Program As An Administrator
. - Run the command
pip install <package>
Similar Posts:
- E09 Error: sudo: effective uid is not 0, is sudo installed setuid root?
- mysql 1142 – SELECT command denied to user ‘root_ssm’@’localhost’ for table …
- Add Samba user prompt failed to add entry for user
- [Solved] MYSQL ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘mys…
- sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, q…
- Windows Install Node.js Error: 2503, 2502 [How to Solve]
- How to Solve pyspark3.0 windows10 Adding HADOOP_USER_NAME Error
- ERROR 1044 (42000): Access denied for user ‘root’@’localhost’
- MySQL Connect Error: Authentication plugin ‘caching_sha2_password’ cannot be loaded
- An error prompt appears during the installation of win10 PostgreSQL: “failed to load SQL modules into the database cluster”