-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Image with JupySQL already set up. #996
Comments
can you share the full traceback? |
2024-03-07T14:56:25.743737504Z Entered start.sh with args: jupyter lab |
i think the problem might be the jupyterlab version. are you installing jupyterlab3? if so, you need to install another jupysql-plugin version:
|
It didn't work. The following is my Dockerfile FROM jupyter/pyspark-notebook:latest COPY ./requirements.txt /tmp/requirements.txt RUN pip install duckdb |
I took a deeper look. You're seeing a warning, not an error. I don't fully understand the details but it seems like an API change in Jupyter's internals (it's complaining that jupysql-plugin is missing a hook for a server extension, but jupysql-plugin is a frontend extension, not a server extension, so the whole thing is a bit confusing) you can remove the line I built the dockerfile and the plugin is working fine: |
@EdanSaltz You can take a look at my Dockerfile. Following jupyter/pyspark-notebook use mamba to install dependencies https://github.com/bdist/notebook/blob/main/notebook/Dockerfile |
I'll need to try this docker image. Seems a bit like throwing in the kitchen sink with all the different versions of software. |
@flaviomartins I was not able to get this to work. I'll try again. |
I've tried to create a Docker container using the pyspark-notebook as a base, but am getting errors when I include 'RUN pip install jupysql.' The error is :\jupyter_server.extension.utils.ExtensionLoadingError: _load_jupyter_server_extension function was not found:
jupyter_server.extension.utils.ExtensionLoadingError: _load_jupyter_server_extension function was not found.
The text was updated successfully, but these errors were encountered: