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

Python 2 print statement in test_primes.py #173

Open
amole-arup opened this issue May 17, 2021 · 1 comment
Open

Python 2 print statement in test_primes.py #173

amole-arup opened this issue May 17, 2021 · 1 comment

Comments

@amole-arup
Copy link

When installing smop, I am getting the following error (presumably simply an old py2 print statement):

byte-compiling build\bdist.win-amd64\egg\smop\test_primes.py to test_primes.cpython-38.pyc
  File "build\bdist.win-amd64\egg\smop\test_primes.py", line 2
    print liboctave.primes(10000)
          ^
SyntaxError: invalid syntax

byte-compiling build\bdist.win-amd64\egg\smop\test_solver.py to test_solver.cpython-38.pyc
@GBR-613
Copy link

GBR-613 commented Nov 21, 2021

@victorlei I believe vast majority of people already moved to Python3. I suggest to fix this, others similar change Makefile accordingly.

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

2 participants