Installing mechanize for python 3.4

北慕城南 提交于 2019-11-27 20:33:55
Carlos Guzman

unfortunately mechanize only works with Python 2.4, Python 2.5, Python 2.6, and Python 2.7.

The good news is there are other projects you can take a look at: RoboBrowser, MechanicalSoup

There are more alternatives in this thread as well: Are there any alternatives to Mechanize in Python?.

(edit) Mechanize 0.4.0 was release a few days ago (16th Jan 2019) and includes the python3 fixes from the mechanize3 fork so you could consider just updating to the latest mechanize release.

pip install -U mechanize
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!