WARNING: IPython History requires SQLite, your history will not be saved

前端 未结 5 1332
小蘑菇
小蘑菇 2021-01-31 20:54

Hi I\'m using Ubuntu release 12.10 (quantal) 32-bit with Linux Kernel 3.5.0-21-generic. I\'m trying to get IPython\'s History to work. I\'ve set it up using pythonbrew and a vir

5条回答
  •  没有蜡笔的小新
    2021-01-31 21:37

    What worked for me (using osx + homebrew + brewed python):

    # Reinstall Python 2.7 with sqlite
    brew remove python
    brew install readline sqlite gdbm --universal
    brew install python --universal --framework
    
    # Reinstall iPython with correct bindings
    pip uninstall ipython    
    pip install ipython
    

    And you should be good to go.

提交回复
热议问题