我刚刚在我的计算机上安装了sqlalchemy
模块,但是当我在ipython提示符中输入import sql
和 TAB 时,自动完成功能只会向我建议内置{{1} }模块。
如何让ipython在导入自动完成时建议sqlite3
?
答案 0 :(得分:12)
根据此消息,
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
吗?