会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
|
我的博客
|
查看该博主内容分类
|
搜 索
面向对象编程
让学习进步成为一种习惯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
2023年3月8日
Vue el-form回车想提交表单数据,但会刷新页面的解决办法
摘要: 原因 W3C 标准中有如下规定 When there is only one single-line text input field in a form, the user agent should accept Enter in that field as a requestto submit
阅读全文
posted @ 2023-03-08 09:09 Z哎呀
阅读(437)
评论(0)
推荐(0)
2023年3月3日
AttributeError: module 'openai' has no attribute 'ChatCompletion'的解决办法
摘要: 原因 openai库版本过旧 解决办法(二选一) 更新openai库 pip更新 pip install -U openai 手动安装包更新 下载安装包放入你的项目根目录下,改名格式zip为whl(即:openai-0.27.0-py3-none-any.zip→openai-0.27.0-py3-
阅读全文
posted @ 2023-03-03 18:54 Z哎呀
阅读(713)
评论(0)
推荐(0)
2023年2月28日
Too many requests in 1 hour. Try again later.的解决办法
摘要: 原因 梯子同地区用的人过多,openAI本身有问答频率限制的机制,多人共用的情况下,网站会认为都是同一个用户问答,所以会对该ip进行限制。 解决办法 换个相对独立,没那么多人用的梯子,找个“安静点”的地区。
阅读全文
posted @ 2023-02-28 14:00 Z哎呀
阅读(4891)
评论(0)
推荐(0)
2023年2月24日
Vue的watch观察xxx.xx.xx点出属性值的解决办法
摘要: 解决办法 使用引号引起来,如: watch: { '$route.params.value'(newValue) { ... } }
阅读全文
posted @ 2023-02-24 10:49 Z哎呀
阅读(109)
评论(0)
推荐(0)
2023年2月21日
cannot import name 'detail_route' from 'rest_framework.decorators'的解决办法
摘要: 原因 es7不能使用3.1.1版本的django-haystack 解决办法 如果你是在弄elasticsearch,那么这个适合你,否则应该用不了。 终端执行django-haystack的更新 pip install -U django-haystack
阅读全文
posted @ 2023-02-21 19:46 Z哎呀
阅读(59)
评论(0)
推荐(0)
ImportError: cannot import name 'six' from 'django.utils'的解决办法
摘要: 解决办法 对于3.x版本的django,安装django-utils-six2.0 pip install django-utils-six
阅读全文
posted @ 2023-02-21 19:15 Z哎呀
阅读(278)
评论(0)
推荐(0)
ChatGPT is at capacity right now.ChatGPT Plus subscriber login Add your email for a personalized login link的解决办法
摘要: 原因 你的ip地区用的人过多。 解决办法 在右侧页面填入邮箱,能收到邮件立刻就能登录,如果没有,就换地区试试,不行就等等吧 邮件示例:
阅读全文
posted @ 2023-02-21 18:38 Z哎呀
阅读(1165)
评论(1)
推荐(0)
the default discovery settings are unsuitable for production use at least one of...的解决办法
摘要: 解决办法 elasticsearch.yml加上 discovery.type: single-node
阅读全文
posted @ 2023-02-21 17:41 Z哎呀
阅读(62)
评论(0)
推荐(0)
max virtual memory areas vm.max_map_count 65530 is too low的解决办法
摘要: 解决办法 /etc/sysctl.conf加上 vm.max_map_count = 262144 使配置永久生效 执行: sysctl -w vm.max_map_count=262144 使配置立刻生效
阅读全文
posted @ 2023-02-21 17:37 Z哎呀
阅读(66)
评论(0)
推荐(0)
2023年2月19日
elasticsearch8.6.1安装后无法打开127.0.0.1:9200的解决办法
摘要: 解决办法 确保java版本在11及以上 补充: 去除密码 给elasticsearch.yml添加一条配置 xpack.security.enabled: false
阅读全文
posted @ 2023-02-19 15:37 Z哎呀
阅读(187)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
公告