Linux-Centos 问题汇总

版权声明:转载请标注出处与作者,写文不易,相互尊重从小事做起。 https://blog.csdn.net/JasonRaySHD/article/details/86187991

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服务即可

猜你喜欢

转载自blog.csdn.net/JasonRaySHD/article/details/86187991