Skip to main content
 首页 » 编程设计

python之在 windows 8.1 上为 python 3.4 安装 mechanize

2024年11月01日10EasonJim

如何在 windows 8.1 的 python 3.4 中安装 mechanize

我试过 pip install mechanize

安装时有一些语法错误,但最后显示Completed Successfully

仍然 import mechanize 不起作用

它说 No module named 'mechanize'

请您参考如下方法:

来自 mechanize FAQ :

我需要哪个版本的 Python? Python 2.4、2.5、2.6 或 2.7。尚不支持 Python 3。

但是您可以查看来自 SO I get an error in python3 when importing mechanize 的另一篇最近的帖子如果你想在 python3 的 developpement 中测试版本。

顺便问一下,在询问 SO 之前,您是否尝试过使用谷歌搜索“mechanize python3”?