【问题标题】:getting easy_install to install something for python2.5 when default is python2.7当默认为 python2.7 时,让 easy_install 为 python2.5 安装一些东西
【发布时间】:2012-07-18 11:46:00
【问题描述】:

由于我使用的是google app engine,所以我必须使用python2.5。

因此,我需要安装适用于 python2.5 的旧版 BeautifulSoup(我认为 bs 3.0.7a 可以)。

为了做到这一点,据我所知,我需要让 easy_install 将 BeautifulSoup 放在 python2.5 文件夹中,而不是默认情况下放在 python2.7 文件夹中。

easy_install 的文档说如下:

“另外,如果您使用的是 Python 2.4 或更高版本,则可以使用 -m easy_install 运行 Python 来运行该特定 Python 版本的 easy_install 命令。”

但我具体是怎么做的呢?

【问题讨论】:

    标签: beautifulsoup easy-install


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-04-03
      • 1970-01-01
      • 2022-06-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-08-14
      • 1970-01-01
      相关资源
      最近更新 更多