linux
hustlxb
一斤白酒,两斤牛肉
展开
-
Centos7 ImportError: No module named Tkinter
linux版本:Centos7 python环境:python2.7.5sudo pip install TkinterCollecting Tkinter Could not find a version that satisfies the requirement Tkinter (from versions: )No matching distribution found f...原创 2018-03-17 10:55:27 · 3231 阅读 · 1 评论 -
Centos7 "fatal error: Python.h: No such file or directory "commmand 'gcc' failed with exit status 1
使用pip安装matplotlib的时候出现了以下错误:.... _posixsubprocess.c:3:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated. er...原创 2018-03-12 19:28:42 · 9722 阅读 · 1 评论 -
Failed to connect to github-production-release-asset-2e65be.s3.amazonaws.com port 443: Timed out
添加URL添加vagrant box,vagrant box add centos7 https://github.com/tommy-muehle/puppet-vagrant-boxes/releases/download/1.1.0/centos-7.0-x86_64.box出现了这个问题: Failed to connect to github-production-rele...原创 2018-03-12 19:34:16 · 7092 阅读 · 0 评论 -
python机器学习之PyML的安装
python机器学习之PyML的安装pyml依赖numpy库和matplotlib库,所以需要先安装这两个库 (如果不需要图形功能的话,matplotlib库可以不安装,pyml仍可以正常使用) 我用的centos7,如果是新安装的系统,可能没有带python的pip工具,使用sudo yum -y install python-pip安装,若出错请参考centos7安装pip...原创 2018-03-12 21:12:50 · 1534 阅读 · 0 评论 -
No package python-pip available----Centos7 安装pip
centos7 安装 pip初始的centos7没有python pip工具,需要自己安装sudo yum -y install python-pip出现以下错误: No package python-pip available 运行以下命令,安装epel:yum -y install epel-release安装后重新运行,解决~sudo yum -y insta...原创 2018-03-12 20:51:20 · 2695 阅读 · 1 评论 -
ImportError: No module named _ckernel
安装pyml后,import PyML出错:>>> import PyML>Traceback (most recent call last): File "<stdin>", line 1, in <module> File "PyML/__init__.py", line 4, in <module>原创 2018-03-12 21:29:17 · 641 阅读 · 0 评论