简体   繁体   English

为python 3.4安装mechanize

[英]Installing mechanize for python 3.4

I'm trying to retrieve the mechanize module for python 3.4. 我正在尝试检索python 3.4的机械化模块。 Can anybody guide me in the right direction and perhaps walk me through the steps that I would need to take in order to make the correct installation? 任何人都可以指导我朝着正确的方向前进,也许还会引导我完成我需要采取的步骤才能正确安装? I'm currently using Windows 10. 我目前正在使用Windows 10。

unfortunately mechanize only works with Python 2.4, Python 2.5, Python 2.6, and Python 2.7. 不幸的是,mechanize只适用于Python 2.4,Python 2.5,Python 2.6和Python 2.7。

The good news is there are other projects you can take a look at: RoboBrowser , MechanicalSoup 好消息是你还可以看看其他项目: RoboBrowserMechanicalSoup

There are more alternatives in this thread as well: Are there any alternatives to Mechanize in Python? 此线程中还有更多替代方案: 在Python中有什么替代方法可以使用Mechanize吗? .

(编辑)Mechanize 0.4.0在几天前(2019年1月16日)发布,并包含来自mechanize3 fork的python3修复程序,因此您可以考虑更新到最新的机械化版本。

pip install -U mechanize

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM