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

前端 未结 5 1249
小蘑菇
小蘑菇 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:34

    This warning appears on macOS when python is installed with pyenv. By default it installs python without sqlite. These commands reinstall python with sqlite support:

    pyenv uninstall 3.7
    CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 3.7
    

提交回复
热议问题