Skip to content

Commit ec867ac

Browse files
authored
Merge pull request #1 from zovelsanj/zovelsanj-patch-1
updated sage installation method with pip
2 parents 104dde9 + 6e5e52e commit ec867ac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,18 @@ in the Installation Guide.
394394
or JupyterLab installation, as described in [section
395395
"Launching SageMath"](https://doc.sagemath.org/html/en/installation/launching.html)
396396
in the installation manual.
397+
398+
Alternative Installation using PiPy
399+
---------------
400+
401+
You can find `sage` and `sagemath` pip packages but it is worth nothing that they are not at all realted to this `sage`. Indeed `pip install sage` installs `sage 0.0.0` which is literally an empty package. For installation of this `sage` you need to install `sagemath-standard`. First activate your python virtual environment and follow these steps:
402+
403+
$ python3 -m pip install sage_conf
404+
$ ls $(sage-config SAGE_SPKG_WHEELS)
405+
$ python3 -m pip install $(sage-config SAGE_SPKG_WHEELS)/*.whl
406+
$ python3 -m pip install sagemath-standard
407+
408+
You need to install the `sage_conf`, a wheelhouse of various python packages. You can list the wheels using `ls $(sage-config SAGE_SPKG_WHEELS)`. After manual installation of these wheels you can install the sage library, `sagemath-standard`.
397409

398410
Troubleshooting
399411
---------------

0 commit comments

Comments
 (0)