-
Notifications
You must be signed in to change notification settings - Fork 6
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
sage jupyter kernel installation #7
Comments
The SAGE_* environmental variables are set and available when activating the the "sage" conda environment. The Dockerfile pipes commands into "conda run -n sage" for the purpose of being able of accessing them. |
So, I suspect the reason that the Sage kernel isn't working for me is that when I run my Jupyter Docker Stacks images, I run as a user other than jovyan in the container (this is necessary for my particular environment). It looks like the
|
Actually, maybe the problem isn't the jovyan user. This happens:
|
I tried |
There seems to be some controversy over how conda has recently changed: conda/conda#9152 |
This issue definitely has nothing to do with whether or not the user is jovyan. |
I'm surprised that activating (base) jovyan@0672a8b50846:~$ which jupyter
/opt/conda/bin/jupyter
(base) jovyan@0672a8b50846:~$ conda activate sage
(sage) jovyan@0672a8b50846:~$ which jupyter
/opt/conda/envs/sage/bin/jupyter
(sage) jovyan@0672a8b50846:~$ jupyter lab |
My container is running conda 4.8.2 and the sagemath image hosted on binder.org, which works fine, is running conda 4.7.12. I bet this is all about the recent changes to conda global installs conda/conda#9692
Jupyter Docker Stacks base notebook is on conda 4.8.2 as of March 18th jupyter/docker-stacks@6bf5922 |
I just did a clean |
Hi, thanks for upgrading sage-notebook to Python 3.
I just tried to build the new sage-notebook on my Jupyter Docker Stacks and it seemed to succeed, but the kernel didn't get installed. Here is what I logged from the docker build:
And now:
So I'm not sure what happened, I'm investigating. I have a question. Where does the
$SAGE_LOCAL
variable in the Dockerfile get set?The text was updated successfully, but these errors were encountered: