0

我已将 BeautifulSoup 解压缩到 c:\python2.6\lib\site-packages 中sys.path,但当我进入时,import BeautifulSoup我收到一个导入错误,提示不存在此类模块。显然我在做一些愚蠢的事情......这是什么?

4

1 回答 1

2

您可能安装了多个 python 版本?检查您正在运行的版本。

另外,我发现使用easy_install安装 BeautifulSoup 效果很好。

于 2010-10-01T14:39:50.503 回答