opendatahub-io-contrib / jupyterhub-odh

Example JupyterHub deployment using OpenShift OAuth authenticator.
16 stars 31 forks source link

fbprophet Installation Error in JupyterHub Pod #62

Open chauhankaranraj opened 4 years ago

chauhankaranraj commented 4 years ago

Describe the bug Hey team, I am trying to install the fbprophet python package while using the s2i-minimal-notebook:3.6 image, but its installation fails.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://jupyterhub.datahub.redhat.com/
  2. Click on s2i-minimal-notebook:3.6 in notebook image dropdown and then click Spawn.
  3. Click on New -> Terminal to open a terminal.
  4. Run pip3 install fbprophet
  5. See error

Expected behavior fbprophet installs without any errors.

Screenshots Screenshot from 2020-09-03 11-35-47

Additional context Not entirely sure, but the error seems related to the gcc (version 4.8.5) installed on the image (see screenshot). This package installs fine on my local machine (fedora 31), where the gcc version is 9.3.

chauhankaranraj commented 4 years ago

cc @vpavlin

vpavlin commented 4 years ago

Hi @chauhankaranraj...The cause of this might be that the instance you mention is using images based on ubi7 images. The new images we introduce in ODH 0.8 (about to be released) are using ubi8

The image would now come from https://github.com/thoth-station/s2i-minimal-notebook, which is based on https://github.com/thoth-station/s2i-thoth, which is based on https://github.com/sclorg/s2i-base-container (which is where the gcc is installed - https://github.com/sclorg/s2i-base-container/blob/master/base/Dockerfile.rhel8#L27).

I could not reproduce this issue in registry.access.redhat.com/ubi8/python-36:1-107, which is a base for s2i-thoth image

@anishasthana Can you update s2i-minimal-notebook (and other images for that matter) to those referenced in https://github.com/opendatahub-io/odh-manifests/tree/master/jupyterhub/notebook-images/overlays/additional ? I think that should solve this issue

anishasthana commented 4 years ago

Will do. Thanks @vpavlin !

chauhankaranraj commented 4 years ago

Thanks for looking into this, folks :)

goern commented 4 years ago

@fridex @pacospace do we have any observation about fbprophet? is it part of our 101 data science packaged?

pacospace commented 4 years ago

@fridex @pacospace do we have any observation about fbprophet? is it part of our 101 data science packaged?

It is in the list. Need to check for observations from solver errors

hemajv commented 4 years ago

While this is in progress, as a workaround the s2i-ocp4-anomaly-detection-notebook:latest notebook image can be used instead