上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: macOS10.14.2,最近cocoapods不能正常使用了。 终端输入 sudo gem update –system 显示如下错误 ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write perm 阅读全文
posted @ 2019-01-24 22:58 玉米炖排骨 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 卸载cocoapods: localhost:~ je$ sudo gem uninstall cocoapods Remove executables: pod, sandbox-pod in addition to the gem? [Yn] Y ERROR: While executing g 阅读全文
posted @ 2019-01-24 22:49 玉米炖排骨 阅读(945) 评论(0) 推荐(0) 编辑
摘要: localhost:test jerry$ open .bash_profile The file /Users/je/Desktop/test/.bash_profile does not exist. localhost:test je$ open .bash_profile The file 阅读全文
posted @ 2019-01-24 21:49 玉米炖排骨 阅读(7799) 评论(0) 推荐(1) 编辑
摘要: 从App Store上下载的Xcode,默认是不会安装Command Line Tools的,Command Line Tools是在Xcode中的一款工具,可以在命令行中运行C程序。 在终端中输入命令 会弹出提示框 选择同意协议 安装中 安装完成后,在终端中执行gcc -v命令查看是否安装成功。如 阅读全文
posted @ 2019-01-24 18:15 玉米炖排骨 阅读(5437) 评论(0) 推荐(0) 编辑
摘要: 1、打开Mac自带终端Terminal; 2、进入当前用户主目录,cd ~;(默认用户目录则不需要) 3、临时授权,sudo su; 4、输入系统密码(加锁密码不显示输入); 5、创建.bash_profile文件,touch .bash_profile(如果存在则不必新建,可直接第六步验证后再选择 阅读全文
posted @ 2019-01-24 13:29 玉米炖排骨 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 在mac系统中,使用homebrew可以很方便的管理包。按照官网的说明执行以下命令时总是报错: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 应该是 阅读全文
posted @ 2019-01-24 13:21 玉米炖排骨 阅读(6416) 评论(1) 推荐(1) 编辑
摘要: 运行Reac项目报: Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x 解决方法:进入project根目录,执行rebuild命令 阅读全文
posted @ 2019-01-21 17:49 玉米炖排骨 阅读(3260) 评论(0) 推荐(0) 编辑
摘要: 计算结果: 1,2。 11,12。 1 * 11 + 2 * 13。 1 * 12 + 2 * 14。 37,40 3,4。 13,14。 3 * 11 + 4 * 13。 3 * 12 + 4 * 14。 85,92 阅读全文
posted @ 2018-12-04 11:02 玉米炖排骨 阅读(165) 评论(0) 推荐(0) 编辑
摘要: """ Numpy 数组操作 修改数组形状 函数 描述 reshape 不改变数据的条件下修改形状 flat 数组元素迭代器 flatten 返回一份数组拷贝,对拷贝所做的修改不会影响原始数组 ravel 返回展开数组 """ import numpy as np ''' numpy.res... 阅读全文
posted @ 2018-11-27 10:58 玉米炖排骨 阅读(241) 评论(0) 推荐(0) 编辑
摘要: numpy.rollaxis numpy.rollaxis 函数向后滚动特定的轴到一个特定位置,格式如下: 参数说明: arr:数组 axis:要向后滚动的轴,其它轴的相对位置不会改变 start:默认为零,表示完整的滚动。会滚动到特定位置。 输出结果如下: 分析: 创建的2x2x2是一个三维数组: 阅读全文
posted @ 2018-11-26 23:33 玉米炖排骨 阅读(9884) 评论(3) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页