【发布时间】:2011-03-25 12:31:00
【问题描述】:
一开始我有 64 位 Python,然后我使用 easy_install 安装了 BeautifulSoup。
出于某种原因,我使用 this method 卸载了 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 X 上卸载 Python。此外,它提到了 BeautifulSoup for Python 2.6,但是我有 2.7。伤心:(
如何重置easy-install.pth?我在 Spotlight 上找不到它。
【问题讨论】:
标签: python macos reset easy-install