subimage icon indicating copy to clipboard operation
subimage copied to clipboard

Support for Python 3

Open stoufa opened this issue 4 years ago • 2 comments

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.

stoufa avatar Jan 12 '21 19:01 stoufa

+1

MikeCraig418 avatar Apr 02 '21 20:04 MikeCraig418

+1

hww avatar Jan 28 '23 11:01 hww