##// END OF EJS Templates
Add setting to disable venv warning (#13706)...
Add setting to disable venv warning (#13706) * Add setting to disable venv warning * Fix style * Add what's new entry * Improve help text * Use double quotes Co-authored-by: Blazej Michalik <6691643+MrMino@users.noreply.github.com> * Add missing comma Co-authored-by: Blazej Michalik <6691643+MrMino@users.noreply.github.com>

File last commit:

r27697:66aeb3fc master
r27697:66aeb3fc master
Show More
silence-running-in-venv-warning.rst
8 lines | 553 B | text/x-rst | RstLexer
/ docs / source / whatsnew / pr / silence-running-in-venv-warning.rst

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).