Web lists-archives.com

Removing old python packages installed with pip

On a machine running Debian stretch I have installed python3, which is
currently python3.5.  Nothing of python3.4 is present.

But in /usr/local/lib/python3.4/dist-packages/ a number of packages is
still installed.  Probably, these have been installed using pip3 when
python3.4 was current.

Now, it seems pip3 isn't able to remove packages from that old
directory.  Is it safe to just rm -r /usr/local/lib/python3.4?