我最初使用64位Python,然后使用easy_install安装了easy_install。
出于某种原因,我使用这种方法卸载了64位Python。然后,我从Python.org重新安装了32位版本。然而:
Kit:~ Kit$ easy_install beautifulsoup
Searching for beautifulsoup
Best match: BeautifulSoup 3.2.0
Processing BeautifulSoup-3.2.0-py2.6.egg
BeautifulSoup 3.2.0 is already the active version in easy-install.pth
Using /Library/Python/2.6/site-packages/BeautifulSoup-3.2.0-py2.6.egg
Processing dependencies for beautifulsoup
Finished processing dependencies for beautifulsoup这是一个令人讨厌的迹象,表明我还没有找到一种简单的方法来在OS上干净地卸载。此外,它还提到了BeautifulSoup for PythonS2.6,但我有2.7。悲伤的:(
如何重置easy-install.pth?我在聚光灯上找不到。
https://stackoverflow.com/questions/5432438
复制相似问题