2017年11月6日

摘要: 操作系统:centos7 python:2.7.x 国内源: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc 阅读全文
posted @ 2017-11-06 23:33 SciProgrammer 阅读(1602) 评论(0) 推荐(0) 编辑
 
摘要: 原因:系统没有安装python的c语言开发的库 解决方法: sudo yum install python-devel 阅读全文
posted @ 2017-11-06 23:31 SciProgrammer 阅读(621) 评论(0) 推荐(0) 编辑
 
摘要: 系统没有安装gcc,解决方法如下: sudo yum install gcc sudo yum install gcc-c++ 阅读全文
posted @ 2017-11-06 23:28 SciProgrammer 阅读(351) 评论(0) 推荐(0) 编辑
 
摘要: 在使用matplotlib时,会出现`ImportError: No module named '_tkinter'问题。 原因:没有安装tk图形库。 解决方法: sudo yum install -y tkinter sudo yum install -y tk-devel 阅读全文
posted @ 2017-11-06 23:26 SciProgrammer 阅读(228) 评论(0) 推荐(0) 编辑
 
摘要: sudo yum -y install epel-release sudo yum install python-pip sudo pip install --upgrade pip 阅读全文
posted @ 2017-11-06 21:37 SciProgrammer 阅读(146) 评论(0) 推荐(0) 编辑
 
摘要: 1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 7 wget -O /etc/yum 阅读全文
posted @ 2017-11-06 21:37 SciProgrammer 阅读(227) 评论(0) 推荐(0) 编辑