会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
布都御魂
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
25
下一页
2021年8月23日
ModuleNotFoundError: No module named 'pip'
摘要: 解决办法: 1.python -m ensurepip 2.python -m pip install --upgrade pip
阅读全文
posted @ 2021-08-23 10:27 布都御魂
阅读(51)
评论(0)
推荐(0)
2021年8月19日
connect.insert_id()一直为零
摘要: 在提交之前,调用接口,否则就会出现一直为0的错误
阅读全文
posted @ 2021-08-19 16:24 布都御魂
阅读(41)
评论(0)
推荐(0)
不能执行sql语句:pymysql.err.InterfaceError: (0, '')
摘要: 在每次运行sql之前,ping一次,如果连接断开就重连。 connect.ping(reconnect=True) cursor.execute(sql) connect.commit()
阅读全文
posted @ 2021-08-19 16:22 布都御魂
阅读(322)
评论(0)
推荐(0)
2021年8月4日
Passthrough is not supported, GL is disabled
摘要: 1:不使用--headless和--disable-gpu参数 2.使用--disable-software-rasterizer 参数,禁用 WebGL,在不显示窗口的模式下,也不显示错误消息。 3.使用-enable-webgl --no-sandbox --disable-dev-shm-us
阅读全文
posted @ 2021-08-04 14:45 布都御魂
阅读(3324)
评论(0)
推荐(0)
2021年8月3日
标准时间转变为时间戳
摘要: import datetimeimport timedt = datetime.datetime.strptime('2021-07-27 00:00:00', '%Y-%m-%d %H:%M:%S')# result从数据库中读出来的标准格式时间数据# # 10位,时间点相当于从1.1开始的当年时
阅读全文
posted @ 2021-08-03 18:02 布都御魂
阅读(115)
评论(0)
推荐(0)
2021年7月29日
输出汉字报错
摘要: import locale locale.setlocale(locale.LC_CTYPE, 'chinese')
阅读全文
posted @ 2021-07-29 16:49 布都御魂
阅读(37)
评论(0)
推荐(0)
2021年7月28日
IndentationError: unindent does not match any outer indentation level
摘要: 1. 代码格式未对齐,找到提示错误的行,检查是否对齐 2. 是否存在特殊字符
阅读全文
posted @ 2021-07-28 14:29 布都御魂
阅读(181)
评论(0)
推荐(0)
2021年7月23日
粘贴复制出错
摘要: 错误描述:Cannot open clipboard:拒绝访问。 解决办法:等一会就好了
阅读全文
posted @ 2021-07-23 09:41 布都御魂
阅读(176)
评论(0)
推荐(0)
2021年7月22日
mysql密码忘记
摘要: 1:net stop mysql2:net start mysql 3:mysql -uroot -p,直接回车 4:use mysql 5:ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
阅读全文
posted @ 2021-07-22 16:57 布都御魂
阅读(49)
评论(0)
推荐(0)
mysql服务打开就关闭
摘要: 只需注释掉my.ini中的skip-grant-tables即可
阅读全文
posted @ 2021-07-22 15:38 布都御魂
阅读(59)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
25
下一页
公告