Skip to content

Support for Python 3 #1

@stoufa

Description

@stoufa

When I try to install the tool on Google Colab, I get the following error:

  File "/tmp/easy_install-5sfxjppw/wsgiref-0.1.2/ez_setup/__init__.py", line 170
    print "Setuptools version",version,"or greater has been installed."
                             ^
SyntaxError: Missing parentheses in call to 'print'. \
Did you mean print("Setuptools version",version,"or greater has been installed.")?

It is clear from this error and the project's README.md file that Python version 2 is used.
Is it possible to support Python version 3 as well?
__future__ is one famous package that can make this transition as smooth as possible.
The official Python documentation provides a guide explaining how to migrate a project from V2 to V3: Porting Python 2 Code to Python 3 — Python 3.9.1 documentation.
I hope this helps.

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