会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HPCM
博客园
首页
新随笔
联系
订阅
管理
2021年12月23日
$ ssh -T git@github.com Hi xxx! You've successfully authenticated, but GitHub does not provide shell access.
摘要: 正常来说这个是可以push到github上, 但是你本地出现了两个hub(比如一个是github, 一个是gitlab), 你可以在~/.ssh/config中能查看到你添加的公钥, 但是会出现每隔一段时间都会无法提交到github上, 提示错误如下 $ git push Connection re
阅读全文
posted @ 2021-12-23 16:11 HPCM
阅读(1347)
评论(0)
推荐(0)
2020年9月17日
Python2.7 pip install Certificate did not match expected hostname
摘要: 异常信息 WARNING: Certificate did not match expected hostname: mirrors.aliyun.com. Certificate: {'notAfter': 'Oct 18 12:00:00 2020 GMT', 'subjectAltName':
阅读全文
posted @ 2020-09-17 17:02 HPCM
阅读(5749)
评论(0)
推荐(0)
Python2.7 pip UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-10: ordinal not in range(128)
摘要: 错误信息 File "C:\Users\HPCM\Envs\test27\lib\site-packages\pip\_internal\cli\progress_bars.py", line 172, in iter self.next(len(x)) # noqa: B305 File "C:\
阅读全文
posted @ 2020-09-17 10:15 HPCM
阅读(313)
评论(0)
推荐(0)
2019年6月17日
UserWarning: The session cookie domain is an IP address. This may not work as intended
摘要: 错误信息 原因 解决
阅读全文
posted @ 2019-06-17 16:47 HPCM
阅读(951)
评论(0)
推荐(0)
2019年5月15日
python3.7 paramiko sftp 上传下载出现 UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 7: ordinal not in range(128)
摘要: 错误信息: 问题描述: 问题解决:
阅读全文
posted @ 2019-05-15 16:30 HPCM
阅读(894)
评论(0)
推荐(0)
2019年4月29日
python rpyc 报错: AttributeError: cannot access 'new'
摘要: Error msg: 错误原因: 服务端和客户端rpyc版本不一致, 会导致connect能成功, 但是不能调用方法解决方法: 使用相同版本的rpyc
阅读全文
posted @ 2019-04-29 16:52 HPCM
阅读(486)
评论(0)
推荐(0)
2019年2月25日
mange
摘要: from flask import Flask app = Flask(__name__) manager = Manager(app) 1. 重写Command class ShellCommand(Command): """这里是用help查到信息""" # option_list = { # Option("--name", "-n", d...
阅读全文
posted @ 2019-02-25 20:13 HPCM
阅读(401)
评论(0)
推荐(0)
2018年12月10日
django.db.utils.ProgrammingError: (1146, "Table 'db_gold.user_ip_info' doesn't exist") RuntimeError: Model class scanhosts.models.HostLoginInfo doesn't declare an explicit app_label and isn't in an a
摘要: Error Msg 原因及解决: 1. 没有安装apps, 在setting.py中安装app 2. 安装app后, 所有用到app中的模块导入必须使用app.模块名, 不能使用上级目录apps 3. 如果无法迁移, 可指定迁移model来迁移:
阅读全文
posted @ 2018-12-10 13:11 HPCM
阅读(1103)
评论(0)
推荐(0)
2018年11月21日
Command "python setup.py egg_info" failed with error code 1 in C:\Users\w5659\AppData\Local\Temp\pip-install-t7uomu4r\xa dmin\
摘要: Error msg: 问题: pip install xadmin安装包中有中文出现, 编码错误, 导致安装中断 解决: 使用github源码安装: pip install https://github.com/sshwsfc/xadmin/tarball/master
阅读全文
posted @ 2018-11-21 23:08 HPCM
阅读(2675)
评论(0)
推荐(0)
ValueError: too many values to unpack
摘要: Error msg: 问题: django第一次数据库迁移之后, apps中的model位置改变了, 导致之前生成的迁移文件检测不到原来的位置 解决: 删除所有的迁移文件重新迁移, 或者将之前的迁移文件的路径修改正确
阅读全文
posted @ 2018-11-21 21:39 HPCM
阅读(590)
评论(0)
推荐(0)
下一页
公告