安装jupyter遇到的问题

Installing latest pysqlite on python 2.7 gives the below error when attempting to use this module.

/python2.7/site-packages/pysqlite2/_sqlite.so: undefined symbol: sqlite3_stmt_readonly

It seems like sqlite3_stmt_readonly was only supplied with SQLite 3.7+, are there any workarounds for this?


解决方案:

A possible workaround is to statically link against the SQLite amalgamation. Download the SQLite amalgamation from https://sqlite.org/download.html, then from the archive, put the files into the pysqlite root directory and build pysqlite with:

python setup.py build_static

你可能感兴趣的:(安装jupyter遇到的问题)