摘要: E: 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)E: 无法锁定管理目录(/var/lib/dpkg/),是否有其他进程正占用它? 不要删掉这些目录!! 只需输入 sudo apt-get autoremove 即可!!!! 阅读全文
posted @ 2017-02-19 13:31 PACHEL35 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Python 3.x版本使用pip3,它会把你想下载的包放到usr/local/lib/python3.5/dist-packages/下,而非usr/local/lib/python2.7/dist-packages/下 sudo apt-get install python3-pip sudo 阅读全文
posted @ 2017-02-19 01:05 PACHEL35 阅读(1321) 评论(0) 推荐(0) 编辑
摘要: numpy 数组索引 一、单个元素索引 一维数组索引 二维数组索引 数组切片 二、使用数组索引数组 例:产生一个一组数组,使用数组来索引出需要的元素。让数组[3,3,1,8]取出x中的第3,3,1,8的四个元素组成一个数组view 当然,类似切片那样,Index也可以使用负数。但是索引值不能越界! 阅读全文
posted @ 2017-02-18 01:51 PACHEL35 阅读(18486) 评论(0) 推荐(1) 编辑
摘要: The cell magics in IPython http://nbviewer.jupyter.org/github/ipython/ipython/blob/1.x/examples/notebooks/Cell%20Magics.ipynb#The-cell-magics-in-IPyth 阅读全文
posted @ 2017-02-12 19:41 PACHEL35 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 原材料: Ubuntu 16.04 LTS 64bit 已经配置好 IPython 和 Jupyter (安装步骤可以参照:http://www.cnblogs.com/McKean/p/6194977.html) 一、使用OpenSSL产生 *.key 和 *.pem 密钥 cd ~/.jupyt 阅读全文
posted @ 2017-02-12 17:26 PACHEL35 阅读(6129) 评论(0) 推荐(0) 编辑
摘要: 可以参考官方的说明文档: http://cn.mathworks.com/help/matlab/matlab_external/get-started-with-matlab-engine-for-python.html MATLAB Engine API的使用文档: http://cn.math 阅读全文
posted @ 2017-02-12 01:10 PACHEL35 阅读(8483) 评论(0) 推荐(0) 编辑
摘要: 原材料: 下载 jdk-8u121-linux-x64.tar.gz 下载 eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz 1、安装jdk sudo mkdir /opt/jvm sudo tar zxvf jdk-8u121-linux-x64.tar.gz 阅读全文
posted @ 2017-02-11 01:25 PACHEL35 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: 先到 http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 下载下面三个库的 whl,然后用pip install 来安装即可 pycurl,lxml,libxml2 阅读全文
posted @ 2017-01-31 17:43 PACHEL35 阅读(1073) 评论(0) 推荐(0) 编辑
摘要: 官方reference: 1、Numpy的API Reference https://docs.scipy.org/doc/numpy/reference/routines.html 2、SciPy的Turorial和API Reference https://docs.scipy.org/doc/ 阅读全文
posted @ 2017-01-30 21:45 PACHEL35 阅读(325) 评论(0) 推荐(0) 编辑
摘要: http://nbviewer.jupyter.org/github/colour-science/colour-ipython/blob/master/notebooks/colour.ipynb#Colour Colour-Science-for-Python 库源代码: https://git 阅读全文
posted @ 2017-01-22 00:38 PACHEL35 阅读(1333) 评论(0) 推荐(0) 编辑