pyeuclid icon indicating copy to clipboard operation
pyeuclid copied to clipboard

Supposed to run on Python 3.x?

Open adaldo opened this issue 7 years ago • 2 comments

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.

adaldo avatar Dec 19 '17 11:12 adaldo

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.

Evelios avatar May 04 '19 13:05 Evelios

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.

etjones avatar May 06 '19 18:05 etjones