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

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

    I've also read in a few places that I may have to rebuild Python.

    This is correct. SQLite is part of the standard library, and is built when you compile Python. There are a few 'optional' parts of the standard library, which Python will simply skip (with minimal warning, unfortunately) if the dependencies are missing at build time, and sqlite is one of these. You should be able to just install libsqlite3-dev, then rebuild Python and you should be set. Keep an eye on the build messages, as they do report which modules they are skipping due to missing dependencies.

提交回复
热议问题