cp msyh.ttf /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/fonts/ttf/ vi /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/matplotlibrc font.sans-serif : Microsoft YaHei, ... ...
cp msyh.ttf /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/fonts/ttf/ vi /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/matplotlibrc font.sans-serif : Microsoft YaHei, ... ...
==SSHClient 封装Transport== import paramiko, socks sock = socks.socksocket() host, port = '103.67.206.10', 11113 sock.set_proxy(proxy_type=socks.SOCKS5,addr=host,port=port,username='lx',password='Qaz ...
1.下载 wget https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz tar -zxvf Python-3.6.7.tgz 2.安装依赖 yum -y install sqlite-devel openssl-devel gcc libffi-devel 3.编译安装 cd Python-3.6.7/ ./configure # ...
git clone https://github.com/pyecharts/pyecharts.git cd pyecharts vi requirements.txt lml==0.0.2 md5-5575219973c7f75af130699a15feae73 pip install -r requirements.txt python setup.py install md5-557 ...
pipy国内镜像目前有: http://pypi.douban.com/ 豆瓣 http://pypi.hustunique.com/ 华中理工大学 http://pypi.sdutlinux.org/ 山东理工大学 http://pypi.mirrors.ustc.edu.cn/ 中国科学技术大学 对于pip这种在线安装的方式来说,很方便,但网络不稳定的话很要命。使用国内镜像相对好一些, ...
==编译安装python== > Centos6自带的python版本过低,yum无法安装2.7版本的python,需要自行编译。 yum install zlib zlib-devel -y #安装setuptools需要,编译python前安装,否则需要重新编译. yum install openssl openssl-devel -y #安装pip需要. yum install ...
最新评论