1、pip安装
https://www.cnblogs.com/saolv/p/6963314.html
2、报错 error: command ‘gcc’ failed with exit status 1
使用命令:pip install twisted
报错:error: command ‘gcc’ failed with exit status 1
解决办法:
运行 yum install python-devel
然后再次安装 pip install twisted
3、报错 ImportError: No module named _util
解决办法:
sudo pip uninstall Twisted sudo pip install Twisted==14.0
安装14.0的版本就ok了
4、报错 “Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”
此时已确定Docker本身已经安装正常。执行 service docker start 命令,启动docker服务即可
Linux-Centos 问题汇总
最新推荐文章于 2025-01-02 13:26:32 发布
本文详细介绍了如何使用pip安装Twisted库,并针对安装过程中常见的错误提供了具体的解决方案,包括解决gcc命令失败、ImportError异常及Docker连接问题。
1万+

被折叠的 条评论
为什么被折叠?



