Remove them manually. pip does not contain hidden directories of installed packages and scan directories, such as /usr/local/lib/python2.7/dist-packages , to determine what is installed.
So, if you installed something using -t , just go to the specified directory and delete all the traces, including any metadata files. For instance,
$ mkdir localpips $ pip install -t localpips docopt Downloading/unpacking docopt Downloading docopt-0.6.2.tar.gz Running setup.py (path:/tmp/pip_build_garyw/docopt/setup.py) egg_info for package docopt Installing collected packages: docopt Running setup.py install for docopt Successfully installed docopt Cleaning up... $ cd localpips $ ls -l total 48 drwxr-xr-x 2 garyw garyw 4096 Jul 6 17:27 docopt-0.6.2.egg-info -rw-r
To delete it, just go to localpips and delete the created files and directories.
I know this is not so elegant, and sometimes you have no idea what might be due to the fact that if you do not carefully observe the installation, but as it is.
source share