簡體   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