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

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? #87

Open
duybuile opened this issue Sep 2, 2024 · 0 comments

Comments

@duybuile
Copy link

duybuile commented Sep 2, 2024

I installed deepsurv using pip install deepsurv. This is because I ran into the lasagne problem (I think someone reported it) when I installed deepsurv by cloning the repository. However, I ran into a different problem. Looks like the version under pip was written in Python 2 (where parentheses are not needed for print commands)

File c:\Users\MyUserName\repo\my-project\.venv\lib\site-packages\deepsurv\deep_surv.py:326
    print '[INFO] Training CoxMLP'
    ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

Someone please help

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

1 participant