自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(39)
  • 收藏
  • 关注

原创 AutoDL 训练SDXL大模型流程整理

AutoDL 训练SDXL大模型流程整理

2023-10-19 12:33:35 669

原创 |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 146

原创 windows 中pycharm中venv无法激活

.\activate : 无法加载文件所在位置 行:1 字符: 1+ .\activate+ ~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess

2023-08-30 11:37:01 935

原创 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 747

原创 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 2312

原创 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 162

原创 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 856

原创 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 155

原创 AutoDL 训练stable-diffusion lora模型

AutoDL 上用kohya_ss训练stable-diffusion 中的lora模型

2023-07-13 18:32:16 1617

原创 mac m1 pro 安装 Labelme工具

mac m1 pro 安装 Labelme工具

2023-06-02 17:40:28 646 1

原创 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 69

原创 Mac m1 pro 安装opencv

Mac m1 pro 安装opencv

2023-05-29 18:50:57 169

原创 任务的状态 为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 385

原创 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 191

原创 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 1032

原创 mac m1pro 安装 Docker、注册dockerhub、镜像上传、下载及服务运行

mac m1pro 安装 Docker、注册dockerhub、镜像上传、下载及服务运行

2022-12-07 17:14:30 616

原创 mac m1pro 用docker 部署django项目

mac m1pro 用docker 部署django项目

2022-12-07 16:47:08 438

原创 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 4383 2

原创 Django 项目 ModuleNotFoundError: No module named ‘mysqldb‘

Django 项目 ModuleNotFoundError: No module named 'mysqldb'

2022-11-24 10:29:21 908

原创 django项目修改后重新发布 git pull origin master

django项目修改后重新发布 git pull origin master

2022-11-22 15:36:00 179

原创 Django 项运行并输出日志到指定目录目部署服务器后台

Django 项运行并输出日志到指定目录目部署服务器后台

2022-11-15 23:21:37 318

原创 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 660

原创 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 2460 1

原创 zsh: command not found: pipreqs

zsh: command not found: pipreqs

2022-11-14 18:06:19 1243

原创 推荐一款好用的Mac 免费使用的解压压缩工具

推荐一款好用的Mac 免费使用的解压压缩工具

2022-11-12 22:11:42 351

原创 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 685

原创 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 3895

原创 更新 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 1503

原创 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 211

原创 基于Django mysql数据库中的时间格式与前端页面格式不一致问题

Django mysql数据库中的时间格式与前端页面格式不一致问题

2022-11-09 14:57:46 577

原创 一分钟解决: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 110

原创 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 2183 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 4845

原创 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 560

原创 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 935 1

原创 python从mysql数据库获取获取数据失败, cursor.fetchall() 获取不到数据的问题

太奇怪了,有时能获取数据,有时获取不了数据,把sql单独执行可以正常获取数据,测试了许久一直解决不了问题。后来看到了一句话,知道问题所在。多次使用cursor.fetchall(),会导致获取不到数据,cursor.fetchall()会把所有数据获取完,当再次调用cursor.fetchall()获取数据时,存在获取不到数据的可能。解决方法:把cursor.fetchall()替换为cursor.fetchone()。...

2021-09-29 15:51:40 3579

原创 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 747 4

原创 Firefox 无法建立到 localhost:8080 服务器的连接。

Firefox 无法建立到 localhost:8080 服务器的连接。今天登录系统时遇到了这个问题,服务器正常,一直找不到错误,原来是端口号改过了忘了。查找端口号,我的是8081,改为8081,登录正常。无法建立连接,原因很多,仅供大家遇到类似问题参考。...

2019-04-10 16:08:24 19644

原创 C3P0一个小demo有xml及其用到的三个jar包

今天在用到出c3p0时,jar包下载老是出问题,耽搁了不少时间。现在下载好了,就想着分享给大家节约初学者学习时间,为了验证方便就把demo分享给大家。在使用时注意把root、password、jdbcUrl改为自己的。如果jar包出现问题,有可能是和你的数据库版本不对应,那你就需要下载和自己数据库对应的jar包了,下载网址:https://mvnrepository.com/artifact/co...

2019-04-09 15:21:36 170

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除