就是安装的时候超时了,因为默认是去国外服务器上下载,很慢。你可以加上-i参数,设置为国内镜像,快的多,应该就不会有超时报错
pip install cmake -i http://mirrors.aliyun.com/pypi/simple/
Cmake是C语言的文件和python没多大关系!