Skip to content

Commit 95f440b

Browse files
authored
DOC: Add tips for conda users when installing pyproj (#1001)
1 parent 5543c78 commit 95f440b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/installation.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,22 @@ The easiest methods for installing pyproj are:
2929
3030
conda config --prepend channels conda-forge
3131
conda config --set channel_priority strict
32-
conda install pyproj
32+
conda create -n pyproj_env pyproj
33+
conda activate pyproj_env
34+
35+
.. note::
36+
"... we recommend always installing your packages inside a
37+
new environment instead of the base environment from
38+
anaconda/miniconda. Using envs make it easier to
39+
debug problems with packages and ensure the stability
40+
of your root env."
41+
-- https://conda-forge.org/docs/user/tipsandtricks.html
42+
43+
.. warning::
44+
Avoid using `pip install` with a conda environment. If you encounter
45+
a python package that isn't in conda-forge, consider submitting a
46+
recipe: https://github.com/conda-forge/staged-recipes/
47+
3348

3449
- `pypoj` is maintaned by the `pyproj-feedstock maintainers <http://github.com/conda-forge/pyproj-feedstock>`__
3550
- `PROJ` is maintaned by the `proj.4-feedstock maintainers <http://github.com/conda-forge/proj.4-feedstock>`__

0 commit comments

Comments
 (0)