I recently encountered several problems when using docker. The problem is that, docker fails because pip install packages
failed. Similar problems can be found at here: here, here and here.
I learnt that, it could be cause by, using sudo pip install
or sudo -H pip install
when trying to install packages. Also, using sudo virtualenv
may also cause the problem.
My question is, since I've already done this before. How can I recover my system from this mess?
Mass thanks!