摘要: 1.安装python3.6.2 安装依赖 下载python 解压 软链 2.安装MySQL 3.systemctl: command not found systemctl status vsftpd.service-bash: systemctl: command not found centos 阅读全文
posted @ 2018-09-17 21:45 Gaoyongxian666 阅读(271) 评论(0) 推荐(0) 编辑
摘要: gyx is not in the sudoers file. This incident will be reported. 1.切换到root用户 su ,如果想要切换回去 exit2.添加sudo文件的写权限,命令是:chmod u+w /etc/sudoers3.编辑sudoers文件vi 阅读全文
posted @ 2018-09-17 21:03 Gaoyongxian666 阅读(2287) 评论(0) 推荐(0) 编辑
摘要: 需求:科学计算中,往往需要将运算结果(array类型)保存到本地,以便进行后续的数据分析。 解决:直接用numpy中的方法。 1:numpy.savetxt(fname,X):第一个参数为文件名,第二个参数为需要存的数组(一维或者二维)。 2.numpy.loadtxt(fname):将数据读出为a 阅读全文
posted @ 2018-09-17 15:20 Gaoyongxian666 阅读(175) 评论(0) 推荐(0) 编辑