随笔分类 -  python

python
摘要:when installing mysqlclient for python pip3 install mysqlclient i got these errors lib -lmysqlclient -lzstd -lresolv -o build/lib.macosx-11-x86_64-3.7 阅读全文
posted @ 2021-10-11 14:27 DavidHHuan 阅读(805) 评论(0) 推荐(0) 编辑
摘要:参考来源: https://www.liaoxuefeng.com/wiki/1016959663602400/1018490750237280 代码稍微修改了一下 Have fun with Python! 阅读全文
posted @ 2019-08-23 23:28 DavidHHuan 阅读(450) 评论(0) 推荐(0) 编辑
摘要:when setting python environment in Ubuntu13.04, i got this error:ImportError: No module named _sysconfigdata_ndAfter searching from google, i found thatThe "No module named _sysconfigdata_nd" is a bug in the Ubuntu package.so, here is the solution.cd /usr/lib/python2.7sudo ln -s plat-x86_6 阅读全文
posted @ 2013-07-23 21:45 DavidHHuan 阅读(1834) 评论(0) 推荐(0) 编辑
摘要:i am developing a plugin for getting rss from a website which is utf-8, when loading the code from the site, i got these error:<type'exceptions.UnicodeDecodeError'>:'ascii'codeccan'tdecodebyte0xe5inposition9here is the code what i used before: title=entry_rss.title.encode(& 阅读全文
posted @ 2012-08-24 10:56 DavidHHuan 阅读(1769) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示