Hi, I'm on RHEL running the Anaconda distribution of Python 2.7.9. I run pip install 3to2, then copy the language_check source, cd into the source, and run python2 setup.py install. Everything installs correctly, but upon import I get:
>>> import language_check
Traceback (most recent call last):
File "", line 1, in
File "language_check/__init__.py", line 238
def check(self, text: str, srctext=None) -> [Match]:
^
SyntaxError: invalid syntax
Hi, I'm on RHEL running the Anaconda distribution of Python 2.7.9. I run pip install 3to2, then copy the language_check source, cd into the source, and run
python2 setup.py install
. Everything installs correctly, but upon import I get: