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

sage -pip not working on debian #35

Open
zerline opened this issue Feb 21, 2019 · 1 comment
Open

sage -pip not working on debian #35

zerline opened this issue Feb 21, 2019 · 1 comment

Comments

@zerline
Copy link
Collaborator

zerline commented Feb 21, 2019

Testing sage_sample installation on debian, with the debian package (sagemath:amd64 8.6-5 )

$ sage -sh
(sage-sh) odile@cecile:sage_sample$ sage -pip install --upgrade --no-index -v .
sage-run received unknown option: -pip
usage: sage [options]
Try 'sage -h' for more information.

So I had to do:

$ sage -python2 -m pip install --upgrade --no-index -v .

(which btw is not really documented)

@goebbe
Copy link

goebbe commented Jul 13, 2020

Thank you! This was very helpful. :-)
I struggled to install jupyterlab inside sage on Linux Mint 20.0. (which is base on Ubuntu 20.04) and had a similar problem.
Python 2 ist not included in Ubuntu and sagemath is sagemath9.0-1ubuntu4

The solution was:
sage -python3 -m pip install jupyterlab

Then I coul start sage with jupyterlab:
sage -n jupyterlab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants