-
Hi , If i install in my docker : RUN pip install SQLAlchemy==1.3.24 or RUN pip install SQLAlchemy==2.0.18, i can build the docker but when I run it i have : "sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected" in jupyterhub/app.py if i install in my docker : RUN pip install SQLAlchemy==1.4.49, in can't build my docker, i have "ImportError: cannot import name 'DeclarativeBase' from 'sqlalchemy.orm'" in "/usr/local/lib/python3.10/dist-packages/nbgrader/api.py" Here is my DockerFile : LABEL maintainer="Devalette Jocelin " USER root ARG JH_ADMIN=adminjh RUN apt-get update && apt-get install -yq --no-install-recommends RUN useradd $JH_ADMIN --create-home --shell /bin/bash RUN pip install SQLAlchemy==1.4.49 RUN pip install nbgrader nbconvert RUN jupyter nbextension install --sys-prefix --py nbgrader --overwrite COPY nbgrader_config.py /home/$JH_ADMIN/.jupyter/nbgrader_config.py RUN mkdir -p /home/$JH_ADMIN/.jupyter && RUN mkdir -p /srv/nbgrader/exchange && RUN echo "$JH_ADMIN:$JH_PWD" | chpasswd RUN groupadd admin && RUN pip install mobilechelonian RUN jupyter contrib nbextension install --sys-prefix RUN mkdir /srv/feedback && EXPOSE 8000 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I answer my own question : |
Beta Was this translation helpful? Give feedback.
I answer my own question :
the version of jupyterhub was not the good one in
FROM jupyterhub/jupyterhub
so :
RUN pip install --upgrade jupyterhub==4.0.1