2

I installed several packages (among them patsy and statsmodels) with pip 1.3.1 in kubuntu 13.04. They were put into /usr/local/lib, instead of /usr/lib. When using pip freeze or pip list, these packages appear fine, and are usable in python. However, when I use pip uninstall I get "Can't uninstall 'statsmodels'. No files were found to uninstall." The structure of install packages in /usr/local/lib/python2.7/dist-packages seem correct, and installed-files.txt has everything listed. How do I make pip see these files and uninstall them?

4

1 回答 1

1

我并没有真正的 pip 路径查找解决方案,但删除/usr/local/lib/python2.7/dist-packages/_PACKAGE_NAME对我来说是诀窍。至少它允许我重新安装。

于 2014-01-20T21:55:38.777 回答