簡體   English   中英

用戶警告:IPython 歷史需要 SQLite

[英]UserWarning: IPython History requires SQLite

在 Ubuntu 上,使用 Anaconda (miniconda3),在啟動 IPython 時我收到警告“UserWarning: IPython History requires SQLite, your history will not be saved”。 正如它所說,歷史是行不通的。

我讀過這個問題,但它很舊,適用於 macOS,而且太復雜了。

有沒有一種簡單的方法來解決問題並使歷史記錄正常工作?


$ conda list ipython
# packages in environment at /home/j/miniconda3:
#
# Name                    Version                   Build  Channel
ipython                   7.13.0           py37h5ca1d4c_0  
ipython_genutils          0.2.0                    py37_0  

$ conda list sqlite
# packages in environment at /home/j/miniconda3:
#
# Name                    Version                   Build  Channel
sqlite                    3.31.1               h62c20be_1  

我找到了一個非常簡單的解決方案:

conda install sqlite
conda uninstall ipython
conda install ipython 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM