随笔分类 -  遇到的问题小结

多积累多提升
摘要:1 备份--删库 》重新创建出数据库2 所有app的数据迁移记录删除migrations下除了__init__.py都删除3 (重要)去源码中删除auth和admin 这俩app的migrations下除了__init__.py都删除4 数据迁移,同步到数据库5 备份的数据,恢复回去 阅读全文
posted @ 2021-04-10 08:08 Οo白麒麟оΟ 阅读(56) 评论(0) 推荐(0)
摘要:环境:centos7 I installed Python 3.4 on CentOS 7.3: sudo yum install epel-release sudo yum install python34.x86_64 There was python 2 installed before un 阅读全文
posted @ 2021-03-18 09:26 Οo白麒麟оΟ 阅读(1509) 评论(0) 推荐(0)
摘要:https://gitee.com/lvyeyou/DaShuJuZhiDaPingZhanShi https://www.cnblogs.com/marvin-wen/p/14397932.html 破解pycharm 阅读全文
posted @ 2021-02-28 22:10 Οo白麒麟оΟ 阅读(38) 评论(0) 推荐(0)
摘要:run `npm audit fix` to fix them, or `npm audit` for details 阅读全文
posted @ 2021-02-23 22:37 Οo白麒麟оΟ 阅读(38) 评论(0) 推荐(0)
摘要:-win平台: 1、pip3 install wheel 3、pip3 install lxml 4、pip3 install pyopenssl(装这个装不上:更新pip,搜方案) 5、下载并安装pywin32:https://github.com/mhammond/pywin32/release 阅读全文
posted @ 2021-01-26 19:01 Οo白麒麟оΟ 阅读(73) 评论(0) 推荐(0)
摘要:错误原因有可能是在settings中静态文件目录设置的有问题尝试按照下面配置 STATIC_ROOT=os.path.join(BASE_DIR,“static/”) # 错误 STATIC_ROOT=os.path.join(BASE_DIR,"/static/") # 正确 阅读全文
posted @ 2021-01-20 17:21 Οo白麒麟оΟ 阅读(462) 评论(0) 推荐(0)
摘要:1、这种情况是缺少依赖 pip install wheel pip install pbr 阅读全文
posted @ 2021-01-20 17:06 Οo白麒麟оΟ 阅读(80) 评论(0) 推荐(0)
摘要:yum -y install mysql-devel pip install mysqlclient 阅读全文
posted @ 2021-01-19 23:41 Οo白麒麟оΟ 阅读(65) 评论(0) 推荐(0)
摘要:1.升级python包管理工具pip pip install --upgrade pip 备注:当你想升级一个包的时候 `pip install --upgrade 包名` 2.python虚拟环境安装 sudo apt-get install python-virtualenv sudo easy 阅读全文
posted @ 2021-01-19 08:35 Οo白麒麟оΟ 阅读(354) 评论(0) 推荐(0)
摘要:pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案 pip安装软件时出现:Command "python setup.py egg_info" failed wit 阅读全文
posted @ 2021-01-18 21:10 Οo白麒麟оΟ 阅读(2227) 评论(0) 推荐(0)
摘要:错误一:安装nginx报错“src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’” “src/os/unix/ngx_user.c:26:7: error: ‘struct 阅读全文
posted @ 2021-01-16 19:03 Οo白麒麟оΟ 阅读(591) 评论(0) 推荐(0)