Skip to content

Commit

Permalink
DOC: Update installation instructions for conda
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Snow authored and snowman2 committed Jan 4, 2022
1 parent 3929eb9 commit 3350d83
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Install from pip:

.. code-block:: bash
pip install geocube
python -m pip install geocube
Use `conda <https://conda.io/en/latest/>`__ with the `conda-forge <https://conda-forge.org/>`__ channel:
Expand All @@ -24,7 +24,23 @@ Use `conda <https://conda.io/en/latest/>`__ with the `conda-forge <https://conda
conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda install geocube
conda create -n geocube_env geocube
conda activate geocube_env
- `geocube` `conda-forge repository <http://github.com/conda-forge/geocube-feedstock>`__

.. note::
"... we recommend always installing your packages inside a
new environment instead of the base environment from
anaconda/miniconda. Using envs make it easier to
debug problems with packages and ensure the stability
of your root env."
-- https://conda-forge.org/docs/user/tipsandtricks.html

.. warning::
Avoid using `pip install` with a conda environment. If you encounter
a python package that isn't in conda-forge, consider submitting a
recipe: https://github.com/conda-forge/staged-recipes/


From source
Expand Down

0 comments on commit 3350d83

Please sign in to comment.