Hi,
I am trying to start a Docker container (skifter90/swissparl-topic-tagger:latest) on Renku. It works on my local machine, but on Renku it the Session reaches stage 3 and is stuck there and never finishes loading. The error that the administrator of RenkuLab reported to me is “/bin/sh: 1: python: not found”. Did anyone experience a similar issue a knows how to fix it? Renku itself does not provide more insightful logs.
Best,
Hi @kapllan , Thank you for posting your issue here. Is there any reason why you need to create your own Docker image? We usually recommend to use code based environments as explained here.
Hi @elisabetc thank you for your response and sorry for my late reply.
The reason why I would like to do it with a Docker image directly, is because I am using this library GitHub - tomtung/omikuji: An efficient implementation of Partitioned Label Trees & its variations for extreme multi-label classification · GitHub. It is built on Rust and just has a Python wrapper which makes it somehow difficult to install. I can do it in a Linux environment, but as far as I can see Renku allows to decide between Python and R. The Linux Desktop does not seem to be a good solution. I was able to install it in the Docker image.
Since Renku offers deployment via Docker Images I thought I should try it that way.
Best
@elisabetc Ok, I think I found a way to solve this issue. I will do it your way. It seems to work.
Thank you!
Hi @kapllan , I totally understand. Does your Docker image have a front end? As of now, you need to have a front end as explained in the documentation.
Great! Happy to hear that you could find out a way to make it work.