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
- [Django]-Why Should I use Redis when I have PostgreSQL as my database for Django?
- [Django]-Django – How to get admin url from model instance
- [Django]-Negating a boolean in Django template
6👍
pip3 install --user <package_name>
No need to write your username in place of –user.
- [Django]-Django settings per application – best practice?
- [Django]-Django equivalent of SQL not in
- [Django]-Django memory usage going up with every request
Source:stackexchange.com