Looks like your user doesn't have the permission to install packages in your system (for all users). Here's how to fix this problem for Linux, macOS and Windows.
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>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…