- 博客(42)
- 收藏
- 关注
原创 403 Client Error: HTTP Forbidden for url:
403 Client Error: HTTP Forbidden for url:异常问题解决
2025-04-15 10:50:50
313
原创 ImportError: libGL.so.1: cannot open shared object file: No such file or directory
项目在服务器上运行正常,切换到容器上运行报错:ImportError: libGL.so.1: cannot open shared object file: No such file or directory
2024-10-10 13:54:19
235
原创 No such file or directory
python 代码在windows运行正常,把代码放到服务器上执行报文件地址拼接错误如:No such file or directory。
2024-08-17 14:51:32
240
原创 |ERROR|‘WebDriver‘ object has no attribute ‘find_element_by_xpath‘Traceback (most recent call
|ERROR|'WebDriver' object has no attribute 'find_element_by_xpath'Traceback (most recent call
2023-10-16 14:10:36
187
原创 windows 中pycharm中venv无法激活
.\activate : 无法加载文件所在位置 行:1 字符: 1+ .\activate+ ~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
2023-08-30 11:37:01
1132
原创 Forbidden (Origin checking failed - https://example_test does not match any trusted origins
Forbidden (Origin checking failed - https://example_test does not match any trusted origins
2023-08-21 11:26:54
1192
原创 error: RPC failed; curl 56 Failure when receiving data from the peer
error: RPC failed; curl 56 Failure when receiving data from the peer
2023-08-12 15:02:15
3268
原创 UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x9d in position 5216: ill
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 5216: illegal multibyte sequence
2023-08-04 18:26:22
249
原创 virtualenv: error: argument dest: the destination /root/miniconda3/bin/python3 already exists and is
virtualenv: error: argument dest: the destination /root/miniconda3/bin/python3 already exists and is
2023-07-27 10:35:53
1386
原创 ERROR: No matching distribution found for PIL
from PIL import Image 中python -m pip install PIL报错原因:PIL多用于Python中2.7版本,在python3版本中用Pillow代替PIL了。因此安装Pillow库可解决from PIL import Image报错问题。
2023-07-20 09:17:52
227
原创 AutoDL 训练stable-diffusion lora模型
AutoDL 上用kohya_ss训练stable-diffusion 中的lora模型
2023-07-13 18:32:16
1701
原创 pip install PILERROR: Could not find a version that satisfies the requirement PIL
pip install PILERROR: Could not find a version that satisfies the requirement PIL (from versions: none)ERROR: No matching distribution found for PIL
2023-05-30 12:03:42
108
原创 任务的状态 为Pending是无法对任务状态进行动态控制,如pause,remove,resume等 任务状态为Next run at时可以对任务进行动态控制如pause,remove,resume等
任务的状态 为Pending是无法对任务状态进行动态控制,如pause,remove,resume等 任务状态为Next run at时可以对任务进行动态控制如pause,remove,resume等
2023-04-10 11:40:10
491
原创 Mac m1 pro An unexpected error has occurred. Conda has prepared the above report
Mac m1 pro An unexpected error has occurred. Conda has prepared the above report
2023-01-05 14:55:43
229
原创 VM12:1 Uncaught (in promise) SyntaxError: Unexpected token ‘T‘, “Test“ is not valid JSON
Uncaught (in promise) SyntaxError: Unexpected token 'T', "Test" is not valid JSON
2022-12-20 10:42:57
1156
原创 mac m1pro 安装 Docker、注册dockerhub、镜像上传、下载及服务运行
mac m1pro 安装 Docker、注册dockerhub、镜像上传、下载及服务运行
2022-12-07 17:14:30
724
原创 sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, “Can‘t connect to MySQL serve
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on
2022-11-25 09:55:56
4889
2
原创 Django 项目 ModuleNotFoundError: No module named ‘mysqldb‘
Django 项目 ModuleNotFoundError: No module named 'mysqldb'
2022-11-24 10:29:21
1005
原创 django项目修改后重新发布 git pull origin master
django项目修改后重新发布 git pull origin master
2022-11-22 15:36:00
208
原创 collect2: error: ld returned 1 exit status *** error linking uWSGI ***
collect2: error: ld returned 1 exit status *** error linking uWSGI ***
2022-11-15 16:46:41
787
原创 fatal: Authentication failed for ‘https://ghproxy.com/https://github.com
fatal: Authentication failed for 'https://ghproxy.com/https://github.com
2022-11-15 12:55:17
2774
1
原创 mac 安装 psycopg2 失败
note: This error originates from a subprocess, and is likely not a problem with pip.error: legacy-install-failure× Encountered error while trying to install package.╰─> psycopg2
2022-11-11 15:53:29
791
原创 Warning: You are using macOS 13.We do not provide support for this pre-release version.
Warning: You are using macOS 13.We do not provide support for this pre-release version.You will encounter build failures with some formulae.Please create pull requests instead of asking for help on Homebrew's GitHub,
2022-11-11 11:34:57
4095
原创 更新 macOS Ventura ssh堡垒机报错:no matching host key type found. Their offer: ssh-rsa,ssh-dss
更新 macOS Ventura ssh堡垒机报错:no matching host key type found. Their offer: ssh-rsa,ssh-dss
2022-11-10 17:45:10
1595
原创 Django Version:3.2.16 Exception Type:TypeError Exception Value:can‘t subtract offset-naive a
Django Version:3.2.16 Exception Type:TypeError Exception Value:can't subtract offset-naive a
2022-11-09 15:44:03
257
原创 一分钟解决:django.db.utils.InternalError:(1050,“Table ‘tb_content‘ already exists“) 数据迁移问题
一分钟解决:django.db.utils.InternalError:(1050,“Table ‘tb_content‘ already exists“) 数据迁移问题
2022-11-08 09:44:52
157
原创 pip install mysqlclient 报错 ‘wheel‘ package is not installed.
DEPRECATION: mysqlclient is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possiblereplacement is to enable t
2022-11-03 16:21:31
2285
1
原创 AttributeError: ‘list‘ object has no attribute ‘to_excel‘
用pytho 将获取的数据报错到excel中报错:AttributeError: 'list' object has no attribute 'to_excel'df 获取的数据往往不能直接用于保存到excel中,需要用pd.DataFrame()对数据进行转换。
2022-10-13 09:59:36
5616
原创 cannot convert between the Rust type `i32` and the Postgres type `int8`
cannot convert between the Rust type `i32` and the Postgres type `int8` 报错原因提示的很明显,rust类型和数据库查询结果的类型不能相互转换。替换rust类型,问题解决。
2022-09-06 11:40:20
701
原创 error[E0061]: this function takes 1 argument but 2 arguments were supplied
编译rust报错:error[E0061]: this function takes 1 argument but 2 arguments were supplied查找相关资料也没查到,初步判断可能是版本的问题,因为代码在低版本可以编译通过。解决方法仅供参考:报错代码:let secret_number = rand::thread_rng().gen_range(1, 101);正确代码:let secret_number = rand::thread_rng().gen_r
2021-11-15 16:57:22
1048
1
原创 python从mysql数据库获取获取数据失败, cursor.fetchall() 获取不到数据的问题
太奇怪了,有时能获取数据,有时获取不了数据,把sql单独执行可以正常获取数据,测试了许久一直解决不了问题。后来看到了一句话,知道问题所在。多次使用cursor.fetchall(),会导致获取不到数据,cursor.fetchall()会把所有数据获取完,当再次调用cursor.fetchall()获取数据时,存在获取不到数据的可能。解决方法:把cursor.fetchall()替换为cursor.fetchone()。...
2021-09-29 15:51:40
3775
原创 Ubuntu 18.04 go 环境搭建
Ubuntu 18.04 go 环境搭建文章目录Ubuntu 18.04 go 环境搭建1. 下载安装 golang2. 设置环境变量3. 生效环境变量4. 查看是否安装成功5. 编写第一个 Go 程序 hello.go6. 编译7. 运行方式 18. 运行方式 21. 下载安装 golangroot@ubuntu:~# apt install golang-go2. 设置环境变量root@ubuntu:~# sudo vim /etc/profileexport PATH=$PATH
2020-11-11 16:51:32
774
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人