ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 02 Dec 2020 13:49:50 +0100What is the "shell console?"https://ask.sagemath.org/question/54496/what-is-the-shell-console/ I have just installed SAGEmath v9.2 on my laptop (after deleting version 7.3) and without any work after installation the program opened in Jupyter (from the previous SAGEmath setup I had). I am attempting to install this module: https://pypi.org/project/admcycles/
It says to type in "$ sage -pip install admcycles --user" into the shell console, but due to my ignorance with computing I am unsure as to what the shell console is.
I am running SAGEmath on windows 7 if that happens to be of use. Tue, 01 Dec 2020 19:54:11 +0100https://ask.sagemath.org/question/54496/what-is-the-shell-console/Answer by slelievre for <p>I have just installed SAGEmath v9.2 on my laptop (after deleting version 7.3) and without any work after installation the program opened in Jupyter (from the previous SAGEmath setup I had). I am attempting to install this module: <a href="https://pypi.org/project/admcycles/">https://pypi.org/project/admcycles/</a></p>
<p>It says to type in "$ sage -pip install admcycles --user" into the shell console, but due to my ignorance with computing I am unsure as to what the shell console is. </p>
<p>I am running SAGEmath on windows 7 if that happens to be of use. </p>
https://ask.sagemath.org/question/54496/what-is-the-shell-console/?answer=54512#post-id-54512In addition to the answer by @mocha, here is an alternative way,
which avoids opening the shell if you prefer to stay in Jupyter.
Open a Jupyter document in the Jupyter notebook, type the following
in a code cell, and execute that cell:
!pip install admcycles --user
Explanation: the initial `!` is to run a shell command from
inside a Jupyter document.
If that Jupyter document is using the Sage kernel, then the `pip`
command runs Sage's pip; you don't need to type `sage -pip`.
In fact this is also the case in the Sage-Windows "Sage shell",
you could type
pip install admcycles --user
with just `pip` instead of `sage -pip`.
Optionally, add `--upgrade` to the command:
!pip install admcycles --user --upgrade
(with initial `!` if you type this in Jupyter, or without it
if you type this in the shell).
The extra `--upgrade` is useful in case you already have a version
of `admcycles` installed, older than the latest released version.
In that case, without `--upgrade`, pip finds that some version of
admcycles is already installed and stops there, so the old version
stays installed; while with `--upgrade`, pip uninstalls the old
version and installs the new one.
Wed, 02 Dec 2020 13:49:50 +0100https://ask.sagemath.org/question/54496/what-is-the-shell-console/?answer=54512#post-id-54512Answer by mocha for <p>I have just installed SAGEmath v9.2 on my laptop (after deleting version 7.3) and without any work after installation the program opened in Jupyter (from the previous SAGEmath setup I had). I am attempting to install this module: <a href="https://pypi.org/project/admcycles/">https://pypi.org/project/admcycles/</a></p>
<p>It says to type in "$ sage -pip install admcycles --user" into the shell console, but due to my ignorance with computing I am unsure as to what the shell console is. </p>
<p>I am running SAGEmath on windows 7 if that happens to be of use. </p>
https://ask.sagemath.org/question/54496/what-is-the-shell-console/?answer=54498#post-id-54498the shell is simply the command prompt window where you type commands (technically this not the definition of shell it's just an explanation of what is does). For example you can achieve this by looking for "command prompt" under the start menu.
You can simply install sage on Windows by getting the suitable binary for Windows https://www.sagemath.org/download.html after installing this, you will find 3 new programs added to your start menu " sageMath 9.2", "sageMath 9.2 Shell" and "sageMath 9.2 Notebook"Tue, 01 Dec 2020 20:27:48 +0100https://ask.sagemath.org/question/54496/what-is-the-shell-console/?answer=54498#post-id-54498