摘要: 备份源 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 编辑源 sudo vim /etc/apt/sources.list 清华大学源 deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ b 阅读全文
posted @ 2022-02-17 15:28 Alien_Lee 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1、下载 https://www.oracle.com/technetwork/java/javase/downloads/index.html 2、配置环境变量 点击“新建” 变量名:CLASSPATH 变量值:.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\to 阅读全文
posted @ 2019-09-27 00:01 Alien_Lee 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 获取补丁文件 curl http://pastie.org/pastes/9934018/download o /tmp/vmnet 3.19.patch 如果无法下载,云盘上取,网址为:http://pan.baidu.com/s/1sj4uWFF 提取码:a7wq cd /usr/lib/vmw 阅读全文
posted @ 2018-09-05 00:59 Alien_Lee 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 1、升级python2.6.6 至 python2.7.12+ 升级时./configure prefix=/usr/local/python27 enable unicode=ucs4 2、升级gcc,g++ 至5.4.0 libstdc++ devel 4.4.7 4.el6.x86_64.rp 阅读全文
posted @ 2017-11-13 10:48 Alien_Lee 阅读(349) 评论(0) 推荐(0) 编辑
摘要: sudo apt get install sasl2 bin sudo apt get install libsasl2 dev pip install pyhs2 pip install pyhive 下载 https://pypi.python.org/pypi/thrift_sasl/0.2. 阅读全文
posted @ 2017-10-13 14:14 Alien_Lee 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1.python连接hive,其实是连接hiveserver,连接的包的impyla impyla安装: error: cc1plus 没有文件或目录 需要安装gcc 和g++,并且版本保持一致 error: sasl/sasl.h: 没有那个文件或目录 sudo apt get install l 阅读全文
posted @ 2017-10-13 14:07 Alien_Lee 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-08-24 17:05 Alien_Lee 阅读(101) 评论(0) 推荐(0) 编辑
摘要: ubuntu下python通过cx_Oracle库访问oracle数据库 阅读全文
posted @ 2017-08-03 12:53 Alien_Lee 阅读(284) 评论(0) 推荐(0) 编辑
摘要: tf.nn.max_pool(value, ksize, strides, padding, name=None) 参数是四个,和卷积很类似:第一个参数value:需要池化的输入,一般池化层接在卷积层后面,所以输入通常是feature map,依然是[batch, height, width, ch 阅读全文
posted @ 2017-06-12 17:59 Alien_Lee 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 安装zsh 配置 或 阅读全文
posted @ 2017-04-02 23:52 Alien_Lee 阅读(1028) 评论(0) 推荐(0) 编辑