Skip to content

Support Python 3 #96

@hickford

Description

@hickford

Found this library incredibly useful in the past, would be great now if mechanize supported Python 3.x . I tried

pip install mechanize

But this happened:

Downloading/unpacking mechanize
  Running setup.py (path:C:\Users\Matt\AppData\Local\Temp\pip_build_Matt\mechanize\setup.py) egg_info for package mechanize

Installing collected packages: mechanize
  Running setup.py install for mechanize
      File "C:\Python34\Lib\site-packages\mechanize\_beautifulsoup.py", line 267
        raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr)
                            ^
    SyntaxError: invalid syntax

Apologies if this has been reported before, I searched but was surprised not to find an issue.


http://wwwsearch.sourceforge.net/mechanize/faq.html

Python 2.4, 2.5, 2.6, or 2.7. Python 3 is not yet supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions