From f061f9520bff95736a9800418d1c1d517f4c6982 Mon Sep 17 00:00:00 2001 From: Jeff Tratner Date: Sat, 17 Feb 2018 14:10:42 -0800 Subject: [PATCH] Add instructions for pipenv with conda --- docs/advanced.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/advanced.rst b/docs/advanced.rst index e595be5e..94d5bcb4 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -78,6 +78,14 @@ Also useful for deployment is the ``--deploy`` flag:: This will fail a build if the ``Pipfile.lock`` is out–of–date, instead of generating a new one. +☤ ``pipenv`` and ``conda`` +-------------------------- + +Conda does not play nicely with virtualenv, so you have to explicitly tell Pipenv +to use conda's python, like this:: + + $ pipenv install --python=$(which python) # run within activated conda environment + ☤ Generating a ``requirements.txt`` -----------------------------------