DeepSurv icon indicating copy to clipboard operation
DeepSurv copied to clipboard

struggling to install deepsurv

Open kristianunger opened this issue 1 year ago • 4 comments

Hi there,

I am struggling to install DeepSurv because of the known Lasagne and Theano issues. Do you provide a Docker image/docker file by any chance?

Best Kristian

kristianunger avatar Oct 18 '23 14:10 kristianunger

for the following command solved the problem:

pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip

found here: https://github.com/imatge-upc/salgan/issues/29#issuecomment-391394201

krekiehn avatar May 29 '24 17:05 krekiehn

Even after successfully installing the Lasagne package, I still cannot install deepsurv correctly after spending 6 hours on this. Has anyone installed deepsurv and been able to run the example in the notebooks folder successfully?

jiachangliu avatar Jul 29 '24 05:07 jiachangliu

Even after successfully installing the Lasagne package, I still cannot install deepsurv correctly after spending 6 hours on this. Has anyone installed deepsurv and been able to run the example in the notebooks folder successfully?

I had the same issue but then I found out that we can install deepsurv using pip install deepsurv

duybuile avatar Sep 02 '24 17:09 duybuile

Oh no, the moment I typed import deepsurv and ran it, I got into an error. It looks like the library was written in Python 2? And I don't think anyone is maintaining the library now (hope that I am wrong).

print '[INFO] Training CoxMLP'
    ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

duybuile avatar Sep 02 '24 17:09 duybuile