- 博客(10)
- 收藏
- 关注
原创 python之urlencode报错:TypeError: not a valid non-string sequence or mapping object解决方案
运行报错:TypeError: not a valid non-string sequence or mapping object。运行结果:data=%E4%B8%AD%E6%96%87。分析:urllib.urlencode(params)解决方案:修改传入参数类型,就可以正常使用了。
2024-09-09 14:48:46
326
原创 pycharm中使用python2.7版本安装三方模块时,不展示三方模块列表,且报错:Error updating package list: Connect timed out
翻译:Python 2.7于2020年1月1日结束了生命。有关pip中Python 2支持的更多详细信息,请访问https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0将删除对该功能的支持。1.检查环境变量中,是否是当前python版本,且需要添加2条:一条是python路径一条是python下script路径。ps:pycharm中直接添加镜像源方法,试过没有用,命令行直接执行命令才成功。
2024-06-21 02:08:35
467
原创 vscode使用-设置自动换行
1、vscode编辑器窗口,依次点击左上角的'File'-->'Preferences'-->'Settings',打开settings窗口(快捷键:ctrl+, )2、在settings窗口的搜索框中输入“word wrap”,将“Editor:Word Wrap”一项设置为on,自动换行生效,关闭settings窗口。vscode使用过程中发现代码很长时,也不会自动换行,导致需要拖拽滚轮查看完整代码,网上搜索设置。
2023-08-31 09:27:03
12225
原创 windows server2016 修改用户密码提示“密码不符合策略要求”
windows server2016 修改用户密码提示密码不符合策略要求”
2023-04-16 15:46:24
6982
1
原创 ERROR 1 (HY000): Can‘t create/write to file ‘D:\data_3306\Temp\#sql590_1_2.MYI‘
mysql在查询表结构(比如desc table1;),报错:ERROR 1 (HY000): Can't create/write to file 'D:\data_3306\Temp\#sql590_1_2.MYI' (Errcode: 2 - No such file or directory)
2023-04-06 20:20:26
584
1
原创 mysql4.0 新建用户报错ERROR 1064语法错误
mysql4.0 新建用户执行:create user 'test1'@'localhost' identified by '123456';报错ERROR 1064语法错误
2023-04-06 18:41:09
729
1
原创 mysql4报错:ERROR 1133: Can‘t find any matching row in the user table
查看mysql.user表中是否存在ttt0405@localhost用户,也报错:ERROR 1141: There is no such grant defined for user 'ttt0405' on host 'localhost'确认用户名未输错的情况下,重新执行新建用户语句,再次查看用户仍报错;在mysql5.6上重复相同操作未报错,说明语句无问题;刷新权限后,用户可正常查阅以及密码可重新设置,问题得到解决。
2023-04-06 00:52:40
1414
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人