Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyenv docs to avoid using shim #4535

Merged
merged 1 commit into from
Nov 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions docs/diagnose.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,9 @@ distributions, with version name like ``3.6.4`` or similar.
------------------------------------------------------------------

Pipenv by default uses the Python it is installed against to create the
virtualenv. You can set the ``--python`` option, or
``$PYENV_ROOT/shims/python`` to let it consult pyenv when choosing the
interpreter. See :ref:`specifying_versions` for more information.

If you want Pipenv to automatically “do the right thing”, you can set the
environment variable ``PIPENV_PYTHON`` to ``$PYENV_ROOT/shims/python``. This
will make Pipenv use pyenv’s active Python version to create virtual
environments by default.
virtualenv. You can set the ``--python`` option to ``$(pyenv which python)``
to use your current pyenv interpreter. See :ref:`specifying_versions` for more
information.

.. _unknown-local-diagnose:

Expand Down
1 change: 1 addition & 0 deletions news/4534.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix suggested pyenv setup to avoid using shimmed interpreter