-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e13a319
commit 7e0ad83
Showing
8 changed files
with
224 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
==================== | ||
Installing Miniconda | ||
==================== | ||
|
||
.. tab-set:: | ||
|
||
.. tab-item:: Windows graphical installer | ||
|
||
#. `Download the installer. <https://conda.io/miniconda.html>`_ | ||
#. (Optional) Verify your installer's SHA-256 checksum. This check proves that the installer you downloaded is the original one. | ||
|
||
a. Open PowerShell version 4.0 or later. | ||
b. Run the following command, replacing ``filename`` with the path to your installer. | ||
|
||
.. code-block:: powershell | ||
Get-FileHash filename -Algorithm SHA256 | ||
c. Check the hash that appears against the hash listed next to the installer you downloaded. See :doc:`all Miniconda installer hashes here <miniconda-hashes>`. | ||
|
||
#. Double-click the `.exe` file. | ||
#. Follow the instructions on the screen. If you are unsure about any setting, accept the defaults. You can change them later. | ||
#. When the installation finishes, from the Start menu, open the Anaconda Prompt. | ||
#. Test your installation by running ``conda list``. If conda has been installed correctly, a list of installed packages appears. | ||
|
||
`More information on installing in silent mode on Windows is in the conda project documentation <https://conda.io/projects/conda/en/stable/user-guide/install/windows.html>`_. | ||
|
||
.. tab-item:: macOS graphical installer | ||
|
||
#. `Download the installer. <https://conda.io/miniconda.html>`_ | ||
#. (Optional) Verify your installer's SHA-256 checksum. This check proves that the installer you downloaded is the original one. | ||
|
||
a. Open a terminal application. | ||
b. Run the following command, replacing `filename` with the path to your installer. | ||
|
||
.. code-block:: shell | ||
shasum -a 256 filename | ||
c. Check the hash that appears against the hash listed next to the installer you downloaded. See :doc:`all Miniconda installer hashes here <miniconda-hashes>`. | ||
|
||
#. Double-click the `.pkg` file. | ||
#. Follow the instructions on the screen. If you are unsure about any setting, accept the defaults. You can change them later. | ||
#. When the installation finishes, open your terminal application. | ||
#. Test your installation by running ``conda list``. If conda has been installed correctly, a list of installed packages appears. | ||
|
||
`More information on installing in silent mode on macOS is in the conda project documentation <https://conda.io/projects/conda/en/stable/user-guide/install/macos.html>`_. | ||
|
||
.. tab-item:: Linux | ||
|
||
#. Open your terminal. | ||
#. Run the following command, replacing `filename` with the path to your installer. | ||
|
||
.. code-block:: shell | ||
sha256sum filename | ||
For more information on this process (and instructions for using Windows PowerShell 3.0 or older), see the `instructions in the conda project documentation <https://conda.io/projects/conda/en/stable/user-guide/install/download.html#cryptographic-hash-verification>`_. | ||
|
||
On Windows, macOS, and Linux, it is best to install Miniconda for the local user, | ||
which does not require administrator permissions and is the most robust type of | ||
installation. However, if you need to, you can install Miniconda system wide, | ||
which does require administrator permissions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
=============== | ||
Other resources | ||
=============== | ||
|
||
- `Miniconda Docker images <https://hub.docker.com/r/continuumio/>`_ | ||
- `Miniconda AWS images <https://aws.amazon.com/marketplace/seller-profile?id=29f81979-a535-4f44-9e9f-6800807ad996>`_ | ||
- `Installer and SHA256 hash archive <https://repo.anaconda.com/miniconda/>`_ | ||
- `conda release notes <https://conda.io/projects/continuumio-conda/en/latest/release-notes.html>`_ | ||
|
||
Miniconda's installers contain the conda package manager, Python, and a few necessary packages. Once Miniconda is | ||
installed, you can use the conda command to install any other packages and create environments. | ||
|
||
For example: | ||
|
||
.. container:: highlight-bash notranslate | ||
|
||
.. container:: highlight | ||
|
||
:: | ||
|
||
$ conda install numpy | ||
... | ||
$ conda create -n py3k anaconda python=3 | ||
... | ||
|
||
There are two variants of the installer: Miniconda is Python 2 based, while Miniconda3 is Python 3 based. | ||
Which Miniconda is installed only affects the root environment. Regardless of which version of Miniconda you | ||
install, you can still use conda to install both Python 2.x and Python 3.x environments. | ||
|
||
However, Miniconda3 (the Python 3 version of Miniconda) will default to Python 3 when creating new environments | ||
and building packages. | ||
|
||
For example, take the command below: | ||
|
||
.. container:: highlight-bash notranslate | ||
|
||
.. container:: highlight | ||
|
||
:: | ||
|
||
$ conda create -n myenv python | ||
|
||
Miniconda (Python 2 based) installs Python 2.7, while Miniconda3 (Python 3 based) installs Python 3.11 by default. | ||
You can override the default by explicitly setting ``python=2`` or ``python=3`` when creating the environment. The | ||
Miniconda version also determines the default value of ``CONDA_PY`` when using ``conda build``. | ||
|
||
.. note:: | ||
If you already have Miniconda or Anaconda installed, and you just want to upgrade, you should | ||
not use the installer. Just use ``conda update conda``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
=================== | ||
System requirements | ||
=================== | ||
|
||
* License: Free use and redistribution under the terms of the `EULA for Miniconda <https://legal.anaconda.com/policies/en?name=offering-specific-terms#miniconda>`_. | ||
* Operating system: Windows 10 or newer, 64-bit macOS 10.13+, or Linux, including Ubuntu, RedHat, CentOS 7+, and others. | ||
* If your operating system is older than what is currently supported, you can find older versions of the Miniconda installers in our `archive <https://repo.anaconda.com/miniconda/>`_ that might work for you. | ||
* System architecture: Windows- 64-bit x86, 32-bit x86; macOS- 64-bit x86 & Apple M1 (ARM64); Linux- 64-bit x86, 64-bit aarch64 (AWS Graviton2), 64-bit IBM Power8/Power9, s390x (Linux on IBM Z & LinuxONE). | ||
* The ``linux-aarch64`` Miniconda installer requires ``glibc >=2.26`` and thus will **not** work with CentOS 7, Ubuntu 16.04, or Debian 9 ("stretch"). | ||
* Minimum 400 MB disk space to download and install. | ||
|
||
On Windows, macOS, and Linux, it is best to install Miniconda for the local user, | ||
which does not require administrator permissions and is the most robust type of | ||
installation. However, if you need to, you can install Miniconda system wide, | ||
which does require administrator permissions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.