[英]For newly installed modules, how do I get `ipython` import autocomplete to work?
我剛剛在我的計算機上安裝了sqlalchemy
模塊,但是當我在ipython提示符下輸入import sql
和TAB時 ,自動完成只會建議我使用內置的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.