python疑难杂症
「已注销」
这个作者很懒,什么都没留下…
展开
-
pip升级后无法使用的故障
解决方法: root@DESKTOP-N6O1LHI:~# type pip pip is hashed (/usr/bin/pip) root@DESKTOP-N6O1LHI:~# has hascsp.dll hash root@DESKTOP-N6O1LHI:~# has hascsp.dll hash root@DESKTOP-N6O1LHI:~# hash -r root@DES...转载 2019-02-17 22:05:25 · 761 阅读 · 0 评论 -
ubuntu中django项目无法上传中文到mysql中
上传的数据中含有中文时,会出现如下错误: 1、查询得出是mysql字符集的问题,首先进入mysql中查看全局编码设置,如下: show variables like 'char%'; mysql和字符集有关的变量 character_set_client:客户端请求数据的字符集 character_set_connection:从客户端接收到数据,然后传输的字符集 character...原创 2019-02-23 18:34:12 · 228 阅读 · 0 评论