每次我进入 ipython
模式时,ipython 都会向我发出以下消息:
WARNING: Attempting to work in a virtualenv. If you encounter
problems, please install IPython inside the virtualenv.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
问候别人固然重要,但它占据了我大部分的shell屏幕,并且我必须使用clean
命令来将它们移除。
我应该如何通过配置文件禁用这个欢迎消息?
WARNING
语句没有消失。可以使用这篇文章修复它,https://dev59.com/o2ox5IYBdhLWcg3wsGWC - user2879704