
python
冷月宫主
性格:温和
爱好:读书、听音乐、玩游戏、编程、聊天
生活态度:随缘
工作状况:一般
受教育状况:大学
展开
-
libpq-fe.h:没有那个文件或目录
安装psycopg2出现这个错误,需要安装postgresql-devel 1 sudo yum install postgresql-devel原创 2021-08-31 10:18:12 · 3078 阅读 · 0 评论 -
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encodingPython runtime state: core initializedModuleNotFoundError: No module named 'encodings'Current thread ...原创 2020-02-22 14:01:35 · 42625 阅读 · 31 评论 -
使用python获取某讯视频地址是如些简单
https://www.52pojie.cn/thread-1032509-1-1.html以上文章给出的代码稍有点问题,可有是某讯把里返回结果改了一下吧,造成获取的数据内容不对了,也许是本来不同的视频返回结果是不一样的,我是为了获得“3月23日《如何培养孩子的学习习惯与学习方法》专题教育”的视频,而改的如下代码,可以正常获得对应的URL。import requestsimpo...转载 2019-10-20 13:12:32 · 853 阅读 · 1 评论 -
No module named 'http.client'
我遇到这种情况的原因是我建了http这上包名。对于phyton使用传统一常见的包名或名称需要注意冲突。原创 2019-10-20 13:05:20 · 1891 阅读 · 0 评论