摘要: ssh-keygen -f "/home/demo/.ssh/known_hosts" -R 远程IPECDSA host key for 远程 IP has changed and you have requested strict checking. 解决: ssh-keygen -R 远程IP 阅读全文
posted @ 2019-01-21 09:56 我的jsj 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 新的Ubuntu16.04后安装软件都提示:Unable to locate package错误, 原因,应该是刚安装,软件源还没有更新,所以才会无法找到包。 解决方法,终端输入以下命令:sudo apt-get update; 再去执行软件安装 阅读全文
posted @ 2019-01-21 09:53 我的jsj 阅读(8339) 评论(0) 推荐(0) 编辑
摘要: AttributeError: 'function' object has no attribute '_set_parent_with_dispatch' 原因:orm字段类型不匹配,比如应该是db.Text而不是text 迁移时报错提示 没有发现表结构的变化原因:在manage.py文件没有导入 阅读全文
posted @ 2019-01-21 09:49 我的jsj 阅读(225) 评论(0) 推荐(0) 编辑
摘要: """读心术"""import randomlist1 = ["☼","☽","☆","☾","¤","§","♊","♉","♈","♎","♌","♏","♓","❉"]count = 0ran_num = random.randint 阅读全文
posted @ 2019-01-21 09:46 我的jsj 阅读(1485) 评论(0) 推荐(0) 编辑