Skip to content
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

Add critical components #12

Open
frakman1 opened this issue Jan 15, 2021 · 3 comments
Open

Add critical components #12

frakman1 opened this issue Jan 15, 2021 · 3 comments

Comments

@frakman1
Copy link

frakman1 commented Jan 15, 2021

@BGameiro2000
I used this docker image as part of the UnRAID template (bgameiro/arch-jupyterlab)
The problem is that it is unusable. It doesn't even have pip installed.
It doesn't have matplotlib. So it won't even run the simplest of demo notebooks.

I had to run this in the container before it would work with sample notebooks.

pacman -Syu  # I think this is optional but it updated a bunch of components
pacman -S python-pip  
pip install matplotlib
pip install scipy
@frakman1
Copy link
Author

I also noticed that when updating to the latest jupyter server, the argument --app-dir=/appdata/lab is not recognized so the docker run command fails. I think you have to use -e environment variable JUPYTERLAB_DIR instead.

@BGameiro2000
Copy link
Owner

I'll try to do it tomorrow.
I've been away due to university exams.

@BGameiro2000
Copy link
Owner

I'll add python-pip to the image, but, for know, the docker is just meant to provide the jupyter lab base as it can be used with different languages and it doesn't make sense to add them all to the default. You'll have to use pip to install matplotlib and scipy in your image.

Regarding pacman -Syu, this updates all packages, it had a lot to update because I didn't update the image in a while. I'm updating it today.

@github-staff github-staff deleted a comment from p4u1d34n Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants