- 博客(22)
- 资源 (3)
- 收藏
- 关注
原创 【已解决】cannot import name ‘Cache‘ from ‘transformers‘
版本降级 peft和transformers。
2025-01-19 11:39:34
4122
3
原创 【已解决】无法解析符号‘validation‘
pom.xml中只加了spring-boot-starter-validation,需要再引入javax.validation。spring-boot-starter-validation:用于引入Hibernate Validator验证器。@NotEmpty注解是Java Bean Validation(JSR 303)规范的一部分。hibernate-validator:用于实现Java Bean Validation规范。validation,@NotEmpty飘红。
2024-10-18 15:56:06
631
1
原创 vue中使用antd TypeError: Cannot read properties of undefined (reading ‘renderEmpty‘)
TypeError: Cannot read properties of undefined (reading 'renderEmpty')
2023-07-20 10:59:24
2160
原创 <twisted.python.failure.Failure OpenSSL.SSL.Error: [(‘SSL routines‘, ‘‘, ‘unexpected eof while readi
scrapy请求中SSL报错
2022-08-17 17:49:00
1451
原创 Linux不同的压缩文件解压方式
*.tar 用tar -xvf 解压*.gz 用gzip -d 或者gunzip 解压*.tar.gz 和*.tgz 用tar -xzf 解压*.bz2 用bzip2 -d 或者用bunzip2 解压*.tar.bz2 用tar -xjf 解压*.Z 用uncompress 解压*.tar.Z 用tar -xZf 解压*.rar 用unrar e 解压*.zip 用unzip 解压...
2022-03-17 15:56:09
387
原创 missing authentication credentials for REST request [/organization_20210901/_settings?pretty]
missing authentication credentials for REST request [/organization_20210901/_settings?pretty]【解决方法】–user elastic:passworldcurl --user elastic:passworld -GET 'localhost:9200/organization_202/_settings?pretty'
2022-03-04 12:40:57
1068
原创 Python 文件读取编码、一个json文件有两个json数据
Python文件自适应文件编码背景:对某APP抓包解析后,提取的json文件不能直接使用loads读取,且有部分一个json文件存在两行json数据的情况
2022-01-27 11:22:23
1758
原创 DENIED Redis is running in protected mode because protected mode is enabled
Caused by: redis.clients.jedis.exceptions.JedisDataException: DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections are only
2021-12-30 15:38:52
554
原创 【已解决】org.springframework.jdbc.core.JdbcTemplate in your configuration
【已解决】Consider defining a bean of type 'org.springframework.jdbc.core.JdbcTemplate' in your configuration
2021-12-17 19:21:53
6045
3
原创 import _ssl ImportError: DLL load failed: 找不到指定的模块。
原因:环境变量配置路径不正确C:\Anaconda3;C:\Anaconda3\Scripts;C:\Anaconda3\Library\bin找到Anaconda文件夹,将目录添加至环境变量。(三个)
2021-07-01 10:30:24
669
转载 设置稳定的仓库报错 File "/bin/yum-config-manager", line 135 except yum.Errors.RepoError, e:
【已解决】遇到这个错误是因为我升级了Python到3,但是yum-config-manager这个文件头的Python没有改成Python2,如下:[root@python ~]# python -VPython 3.6.4[root@IThink rpm]# vim /usr/bin/yum-config-manager换成Python2即可...
2020-04-16 16:07:56
4300
转载 rpmdb: BDB0113 Thread/process 13733/140078698690624 failed: BDB1507 Thread died in Berkeley DB libra
centos安装docker报错:【已解决】【解决办法:重新构建rpm数据库】[root@IThink video_file]# cd /var/lib/rpm[root@IThink rpm]# lsBasenames __db.001 __db.003 Group Name Packages Requirename Si...
2020-04-16 15:59:17
1264
原创 Python post请求json数据报错解决——syntax error, expect {, actual error, pos 0
syntax error, expect {, actual error, pos 0期望是{,实际上是error抓取目标:站点成功登录的Cookie站点环境Content-Type: application/x-www-form-urlencoded; charset=UTF-8X-Requested-With: XMLHttpRequest接收数据类型为json类型,传...
2020-04-16 11:01:31
7672
转载 oracle ORA-00917: missing comma
oracle ORA-00917: missing comma 错误oracle ORA-00917: missing comma 是因为少逗号我这里是将IP地址插入Oracle时没有使用引号:insert into BOOKS_LOGS values(345,2353,'类别修改','测试','21-JUN-17 05.20.27.281000 PM',192.168.0.1,20...
2020-04-16 10:58:45
26582
全部A股数据-2023年12月
2024-01-10
《Python提取中文拼音首字母》
2022-08-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人