DeepSurv icon indicating copy to clipboard operation
DeepSurv copied to clipboard

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

Open duybuile opened this issue 5 months ago • 0 comments

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

duybuile avatar Sep 02 '24 17:09 duybuile