# Installation

Hi,

Is it possible to install Sagemath to an existing python/ Jupyter Notebook installation. No new environment.

Cheers,

Installation

Hi,

Is it possible to install Sagemath to an existing python/ Jupyter Notebook installation. No new environment.

Cheers,

0

Is the question about Conda?

On Linux or macOS, one can install SageMath into an existing Conda environment as follows.

Optional, but recommended: add the conda-forge channel to your conda configuration:

```
$ conda config --add channels conda-forge
```

This allows to ignore the `-c conda-forge`

part in all the commands below.

Optional, but recommended: install Mamba which has a faster dependency solver:

```
$ conda install mamba -c conda-forge
```

Activate the Conda environment you want to install Sage into:

```
$ conda activate xxx # replace xxx as appropriate
```

Now install Sage:

if you have installed Mamba:

`$ mamba install sage -c conda-forge`

otherwise:

`$ conda install sage -c conda-forge`

On Windows, Sage cannot be installed in Conda so far.

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2021-03-10 14:08:43 +0200 **

Seen: **66 times**

Last updated: **Mar 10**

Why does Sage not install with Vista?

How to report a mistake in the documentation?

How to access Sage from the host operating system?

sf_sage_files as default folder

Sage 4.8 installation on Mac OSX 10.7.x

Sage-4.8 installation failed in ubuntu 10.04

How to resolve the problem of Sage app version in Lion

R through Sage giving errors: Error: object 'sage3' not found

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

Welcome to Ask Sage! Thank you for your question.

Can you say more about the existing Python / Jupyter Notebook installation in question?