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

Supposed to run on Python 3.x? #15

Open
adaldo opened this issue Dec 19, 2017 · 2 comments
Open

Supposed to run on Python 3.x? #15

adaldo opened this issue Dec 19, 2017 · 2 comments

Comments

@adaldo
Copy link

adaldo commented Dec 19, 2017

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.

@Evelios
Copy link

Evelios commented May 4, 2019

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.

@etjones
Copy link
Contributor

etjones commented May 6, 2019

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.

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