设为首页收藏本站

 找回密码
 注册论坛

QQ登录

只需一步,快速开始

用百度帐号登录

只需两步,快速登录

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 307|回复: 0

Error: /usr/local/lib/python2.7/site-packages/pysqlite2/_sqlite.so: undefined symbol: sqlite3_stmt_readonly

[复制链接]

签到天数: 2451 天

[LV.Master]伴坛终老

 成长值: 21995
发表于 2018/3/20 06:38 | 显示全部楼层 |阅读模式 |Google Chrome 65.0.3325.146|Windows 10
天涯海角搜一下: 百度 谷歌 360 搜狗 有道 雅虎 必应 即刻
[root@207 flexget]# flexget check
2018-03-20 06:34 VERBOSE  manager                       Creating new database /etc/flexget/db-config.sqlite - DO NOT INTERUPT ...
FATAL: Unable to use SQLite. Are you running Python 2.7, 3.3 or newer ?
Python should normally have SQLite support built in.
If you're running correct version of Python then it is not equipped with SQLite.
You can try installing `pysqlite`. If you have compiled python yourself, recompile it with SQLite support.
Error: /usr/local/lib/python2.7/site-packages/pysqlite2/_sqlite.so: undefined symbol: sqlite3_stmt_readonly
[root@207 flexget]#

寻找
  1. find / -name _sqlite3.so
复制代码

我的文件路径
/usr/lib64/python2.6/lib-dynload/_sqlite3.so

  1. cp /usr/lib64/python2.6/lib-dynload/_sqlite3.so /usr/local/lib/python2.7/site-packages/pysqlite2/_sqlite.so
复制代码


然后出了一个新的报错。。
FATAL: Unable to use SQLite. Are you running Python 2.7, 3.3 or newer ?
Python should normally have SQLite support built in.
If you're running correct version of Python then it is not equipped with SQLite.
You can try installing `pysqlite`. If you have compiled python yourself, recompile it with SQLite support.
Error: dynamic module does not define init function (init_sqlite)

没有解决方案。。

补充,,上面的方法纯属扯淡,下面来个新方法
http://bbs.itzmx.com/thread-85712-1-1.html

[发帖际遇]: 小樱 在论坛发帖时没有注意,被小偷偷去了 1 樱币. 幸运榜 / 衰神榜
欢迎光临IT技术交流论坛:http://bbs.itzmx.com/
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册论坛 用百度帐号登录新浪微博账号登陆

本版积分规则

手机版|Archiver|Mail me|网站地图|IT技术交流论坛 ( 闽ICP备13013206号-7 )

GMT+8, 2018/9/19 15:11 , Processed in 0.352913 second(s), 42 queries , Gzip On, Memcache On.

Powered by itzmx!

© 2011-2018 sakura

快速回复 返回顶部 返回列表