python - scrapyd 没有名为 _sqlite3 的模块

标签 python python-3.x scrapy scrapyd

我是 Python 的新手,一直需要重新编译 Python。

我有 Centos 服务器,我安装了 Python3.6,然后安装了 scrapyd。一切都安装成功,但是当我尝试运行 scrapyd 命令时,它显示以下错误:

enter image description here

搜索了一下,发现sqlite3应该早于Python3.6安装,但是我现在已经安装了sqlite3,现在发现需要重新编译Python。

所以,上面是这种情况,现在我有一个问题,我需要安装sqlite3并重新编译Python吗?如果是,那么我如何重新编译 Python?如果不是,我该如何解决这个问题并启动 scrapyd?

帮助真的很可观。

最佳答案

我相信,您需要按照此重新安装 python 版本,因为实际上 sqlite3 是应该在安装 Python 之前安装的扩展。

请检查这个 -

How to import sqlite3 in my python3.4 successfully?

关于python - scrapyd 没有名为 _sqlite3 的模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50699601/

相关文章:

python - 在 Python 中为 os.path.expandpath 使用自定义环境变量

python - 从现有排序的 pandas 数据框中逐组提取数据框?

python - CSV 文件到行列表?

python - 未找到 Chromedriver 路径? - Selenium - MacOS

linux - cloudcompare挂载硬盘问题

python - 试图让 Scrapy 进入项目以运行 Crawl 命令

python - 在 python 中的 Cypher 查询中传递变量

python-3.x - 无法让 SSL 用于安全 Websocket 连接

scrapy - 在scrapy中延迟请求

python-3.x - 如何使用 python 获取 Instagram 帖子的正确视频 url