[Django]-PermissionError with pip3

16👍

You need to use sudo to install globally or have permissions to write to the folder. Or as @Alasdair commented using a virtualenv is a better option.

71👍

just install them using –user option which install the package only for the current user and not for all

pip install xxxxxx --user
👤Seeni

6👍

pip3 install --user <package_name>

No need to write your username in place of –user.

Leave a comment