I`ve recently started having problems with pip installs. Every time I run this kind of command in Terminal, I get an error:
Could not install packages due to:
<
copy all the files in "/home/shuaizhang/.local/lib/python3.6/site-packages/pip-19.0.1.dist-info/pip-19.0.1.dist-info/" to the upper directory "/home/shuaizhang/.local/lib/python3.6/site-packages/pip-19.0.1.dist-info/"
Then, pip3 install --user --upgrade pip , solved my problem.
I hope this will help.