Merge pull request #632 from namin/patch-1

how to call sudo with changed path
This commit is contained in:
Georgiana Elena
2020-11-20 12:12:42 +02:00
committed by GitHub

View File

@@ -49,9 +49,9 @@ This should let you run various ``conda`` and ``pip`` commands. If you run into
.. code-block:: bash .. code-block:: bash
sudo PATH=${PATH} <command> sudo env PATH=${PATH} <command>
By default, ``sudo`` does not respect any custom environments you have activated. The ``PATH=${PATH}`` By default, ``sudo`` does not respect any custom environments you have activated. The ``env PATH=${PATH}``
'fixes' that. 'fixes' that.
.. note:: .. note::