会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HPCM
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2018年11月21日
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'. Did you install mysqlclient or MySQL-python?
摘要: Error msg: 问题: 版本兼容性问题 解决: 方法一: 安装pymysql, 在setting.py的同级目录__init__.py中添加: import pymysql pymsql.install_as_MySQLdb() 方法二: 安装mysqlclient, 但是不能直接安装, 只能
阅读全文
posted @ 2018-11-21 21:15 HPCM
阅读(4349)
评论(0)
推荐(0)
2018年11月18日
postman Installation has failed: There was an error while installing the application. Check the setup log for more information and contact the author
摘要: Error msg: 问题: 之前安装的postman没有拆卸干净, 导致创建目录失败, 无法正常进行, 删除C:\Users\w5659\AppData\Local中的快捷方式即可 解决: cd C:\\Users\w5659\AppData\AppData\Local && rmdir /S /
阅读全文
posted @ 2018-11-18 18:41 HPCM
阅读(10767)
评论(2)
推荐(0)
2018年11月17日
git@github.com: Permission denied (publickey).////remote: Permission to xxx/test.git denied to xxx.等权限问题
摘要: Error msg 错误原因: 账号切换, 原账号保存数据未清除 解决: 1. 清除凭证: 控制面板-->用户账户-->凭证管理器-->管理凭证: 删除git相关的凭证 2. 删除本地git配置数据: cd ~ && rm -rf .git* 即可重新配置git信息
阅读全文
posted @ 2018-11-17 13:10 HPCM
阅读(204)
评论(0)
推荐(0)
2018年11月10日
remote: Permission to user_name/Code.git denied to other_user_name. fatal: unable to access 'https://github.com/user_name/Code.git/': The requested URL returned error: 403
摘要: Error msg: 原因: 账号切换, git安全机制导致 解决: git remote set-url origin git@github.com:用户名/仓库名.git
阅读全文
posted @ 2018-11-10 14:50 HPCM
阅读(498)
评论(0)
推荐(0)
2018年10月27日
TypeError: argument 1 must be an integer, not _subprocess_handle/OSError: [WinError 87]
摘要: Error Msg: 问题: windows中现阶段不支持Celery4.x版本, 注意你的默认python版本, 可能python3中安装正常Celery3.x, 但是默认使用python 解决: pip uninstall celery pip3 uninstall celery pip ins
阅读全文
posted @ 2018-10-27 14:58 HPCM
阅读(989)
评论(0)
推荐(0)
2018年10月13日
Command "python setup.py egg_info" failed with error code 1 in c:\users\w5659\appdata\local\temp\pip-build-fs2yzl\ipython\
摘要: Error Msg: 问题: python2中ipython安装最高支持5.x 解决: pip install ipython==5.1
阅读全文
posted @ 2018-10-13 15:19 HPCM
阅读(7685)
评论(0)
推荐(0)
2018年10月12日
RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means that you are not using fork to start your c
摘要: Error Msg: 问题: 在windows中, 创建进程由于没有folk创建进程, 所以是通过重载自身模块来创建的, 如果Pool放在if __name__ == "__main__"外部, 就会进行无线递归模块 解决: from multiprocessing imoprt Pool if _
阅读全文
posted @ 2018-10-12 18:14 HPCM
阅读(8102)
评论(0)
推荐(1)
TypeError: sequence item 1: expected str instance, int found
摘要: Error Msg 问题: ",".join()接收的参数必须是str类型, 不接受其他类型 解决: 修改join()参数为列表, 列表中全部为str类型: ","join(["1", "2", "3"...])
阅读全文
posted @ 2018-10-12 18:11 HPCM
阅读(1439)
评论(0)
推荐(0)
TypeError: 'Item' object has no attribute '__getitem__'
摘要: Error Msg: 问题: 继承并重写代码后, 没有创建返回值问题: 注意spider重写中间件后注意将返回值返回
阅读全文
posted @ 2018-10-12 18:08 HPCM
阅读(1802)
评论(0)
推荐(0)
TypeError: not enough arguments for format string
摘要: Error msg: 问题: setting中的log使用的DEFAULT_LOG_FMT参数出错 解决: 检查参数是否写错, 或者多项少项
阅读全文
posted @ 2018-10-12 18:06 HPCM
阅读(1697)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告