This worked for me.
pip3 install --user package-name # for Python3
pip install --user package-name # for Python2
The --user
flag tells Python to install in the user home directory. By default it will go to system locations. credit
This worked for me.
pip3 install --user package-name # for Python3
pip install --user package-name # for Python2
The --user
flag tells Python to install in the user home directory. By default it will go to system locations. credit