摘要: 终于可以有时间更新了 阅读全文
posted @ 2020-10-07 23:11 CIA2018 阅读(69) 评论(0) 推荐(0) 编辑
摘要: pip是python中比较常用的管理依赖包的工具。今天心血来潮更新一下pip版本,结果悲剧发生了。 -bash: /Library/Frameworks/Python.framework/Versions/3.6/bin/pip: No such file or directory 为什么会这样子呢 阅读全文
posted @ 2019-01-27 21:21 CIA2018 阅读(1262) 评论(0) 推荐(0) 编辑
摘要: 先上官方链接https://docs.python.org/3.3/library/turtle.html 再上一个GitHub上别人做的一个小程序,画小猪佩琦的,里面用到了大量常用的turtle接口。github链接https://github.com/Monster12138/- 阅读全文
posted @ 2019-01-13 23:41 CIA2018 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 利用pip3 install numpy,代表安装了数学模块 pip3 install -U numpy,代表升级数学模块 有的时候需要升级pip本身,如上所示,直接执行pip3 install -U pip即可 阅读全文
posted @ 2018-09-07 00:11 CIA2018 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 直接访问python.org,点击downloads默认选择3.7 下载完成后,直接install完成 打开Terminal终端,输入python发现版本仍然是2.7.X 修改~/.bash_profile文件 PATH="/Library/Frameworks/Python.framework/V 阅读全文
posted @ 2018-09-06 23:52 CIA2018 阅读(241) 评论(0) 推荐(0) 编辑