![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
haha074
这个作者很懒,什么都没留下…
展开
-
matplotlib.plot 记录
#!/usr/bin/env python#coding=utf8#中文中文import numpy as npimport matplotlib.pyplot as pltfig=plt.figure()ax=fig.add_subplot(1,1,1)font1 = {'family' : 'Times New Roman','weight' : 'normal','...原创 2018-09-12 15:27:59 · 105 阅读 · 0 评论 -
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
sudo easy_install -U numpy或sudo -H pip install -U numpy 这种可能会报错:Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong ...原创 2018-10-26 11:21:28 · 244 阅读 · 0 评论 -
python pip 小记
使用sudo权限sudo -H [ ]python命令 为符号软连接,可指向python2或3,默认2.7 。使用python3可以改软连接也可直接使用python3(也是软连接) pip 与 pip3 对应python2和3pip list 显示安装的包pip -V 显示版本更新pip sudo -H pip install --upgrade pip ...原创 2019-01-23 14:09:31 · 128 阅读 · 0 评论