Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 553 Bytes

silence-running-in-venv-warning.rst

File metadata and controls

8 lines (5 loc) · 553 Bytes

New setting to silence warning if working inside a virtual environment

Previously, when starting IPython in a virtual environment without IPython installed (so IPython from the global environment is used), the following warning was printed:

Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.

This warning can be permanently silenced by setting c.InteractiveShell.warn_venv to False (the default is True).