You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could download pyeculid with sudo pip3 install euclid.
But when importing euclid, we get a SyntaxError on line 137.
Of course, this does not happen if I import it with Python 2.x.
Is the package intended at all to work on Python 3.x?
If so, should we consider fixing the syntax?
Edit: This seems to be a name clash with a different Python package, since the line 137 that I get in the SyntaxError is raise AttributeError, name, which is not the same as line 137 in euclid.py here.
The text was updated successfully, but these errors were encountered:
This library is not the official euclid library you can download this version locally and install it that way. I had the same issue. This version is python 3.6 compatible. That is the version I am using now.
Fork of pyeuclid by Alex Holkner. The latest pulled upstream revision is r37.
You can also just use the reasonably maintained euclid3 fork. It's on PyPI, so you can just do pip install euclid3 and then import euclid3 in your Python code.
I could download pyeculid with
sudo pip3 install euclid
.But when
import
ingeuclid
, we get aSyntaxError
on line 137.Of course, this does not happen if I
import
it with Python 2.x.Is the package intended at all to work on Python 3.x?
If so, should we consider fixing the syntax?
Edit: This seems to be a name clash with a different Python package, since the line 137 that I get in the
SyntaxError
israise AttributeError, name
, which is not the same as line 137 ineuclid.py
here.The text was updated successfully, but these errors were encountered: