Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Python 3 #1

Open
stoufa opened this issue Jan 12, 2021 · 2 comments
Open

Support for Python 3 #1

stoufa opened this issue Jan 12, 2021 · 2 comments

Comments

@stoufa
Copy link

stoufa commented Jan 12, 2021

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.

@MikeCraig418
Copy link

+1

1 similar comment
@hww
Copy link

hww commented Jan 28, 2023

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants