摘要: ubuntu下,默认的python环境是 python --version ==>>2.7.x python3 --version ==> 3.5.2 krdoc只支持python2.7.x 升级 pip(python2.7的)==>>导致报错。 sudo gedit /usr/bin/pip == 阅读全文
posted @ 2019-07-26 10:26 七分sunshine! 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 编译安装php7时提示“freetype-config not found” resolve :apt-get -y install libfreetype6-dev; 阅读全文
posted @ 2019-07-25 11:10 七分sunshine! 阅读(338) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zhouhbing/p/4048834.html 证书发布,转换。 阅读全文
posted @ 2019-06-24 17:33 七分sunshine! 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 前端:(vue项目,main.js) // The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with a 阅读全文
posted @ 2019-06-09 23:16 七分sunshine! 阅读(1755) 评论(0) 推荐(0) 编辑
摘要: 依赖文件生成pip freeze > requirements.txt依赖文件安装pip install -r requirement.txt pip install django-filter # 新版本安装后面不用s $sudo apt-get install alien ##alien默认没有 阅读全文
posted @ 2019-05-28 18:01 七分sunshine! 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1。先pip install django==1.11.7 -i https://pypi.doubanio.com/simple 2。完成后查看版本:python -m django --version ; 3。初始化(建立)项目:django-admin startproject dj_webs 阅读全文
posted @ 2019-05-26 01:27 七分sunshine! 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Conda 1.镜像源如何恢复默认 :conda config --remove-key channels 2.conda创建虚拟环境: conda create --name python35 python=3.5 提示完成安装包; 3.conda激活环境: conda activate pyth 阅读全文
posted @ 2019-05-26 00:21 七分sunshine! 阅读(263) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/swordsf/article/details/77413738 httpServer异常报错 阅读全文
posted @ 2019-05-16 16:50 七分sunshine! 阅读(80) 评论(0) 推荐(0) 编辑
摘要: ubuntu下,默认的python环境是 python --version ==>>2.7.x python3 --version ==> 3.5.2 krdoc只支持python2.7.x 升级 pip(python2.7的)==>>导致报错。 sudo gedit /usr/bin/pip == 阅读全文
posted @ 2019-05-15 14:25 七分sunshine! 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1.相当于封装一下 this.setState; 2. 阅读全文
posted @ 2019-02-07 22:23 七分sunshine! 阅读(731) 评论(0) 推荐(0) 编辑