繁体   English   中英

对于新安装的模块,如何让`ipython`导入自动完成工作?

[英]For newly installed modules, how do I get `ipython` import autocomplete to work?

我刚刚在我的计算机上安装了sqlalchemy模块,但是当我在ipython提示符下输入import sqlTAB时 ,自动完成只会建议我使用内置的sqlite3模块。

我如何获得IPython中也提出sqlalchemy对进口自动完成?

根据这条消息,

In [1]: import sq[TAB]
Caching the list of root modules, please wait!
(This will only be done once - type '%rehashx' to reset cache!)

你试过%rehashx吗?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM