摘要: 看到 SSL,明白错误了。 在连接后面加上: ?useUnicode=true&characterEncoding=utf8&useSSL=false url: String url = "jdbc:mysql://127.0.0.1:3306/sys?useUnicode=true&charact 阅读全文
posted @ 2022-01-23 22:40 攻城狮小Liu 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 华为系手机谷歌安装 简单直装法 4种(相当于双开软件,虚拟机属于,海外版手机推荐) 01 dualspace(有广告,安装快,兼容机型多,推荐) https://wws.lanzous.com/i8nVfkj6kid 密码:hncx 02 gspace无广告版(效果好,兼容性差) https://w 阅读全文
posted @ 2022-01-19 20:15 攻城狮小Liu 阅读(692) 评论(0) 推荐(0) 编辑
摘要: CommandNotFoundError: Your shell has not been properly configured to use 'conda activate' 完整报错: CommandNotFoundError: Your shell has not been properly 阅读全文
posted @ 2022-01-19 09:59 攻城狮小Liu 阅读(2905) 评论(0) 推荐(0) 编辑
摘要: 问题代码: #include <bits/stdc++.h> #include <vector> using namespace std; int main() { //string 要引用 string s = "hello"; for (auto &i : s) //书上说i 是char类型,那 阅读全文
posted @ 2022-01-18 21:50 攻城狮小Liu 阅读(50) 评论(0) 推荐(0) 编辑
摘要: >>> result = reader.readtext('2.png')Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\xuyic\Anaconda3\envs\pytorc 阅读全文
posted @ 2022-01-17 22:14 攻城狮小Liu 阅读(1847) 评论(0) 推荐(0) 编辑
摘要: 问题: 1. 添加环境变量 2. 管理员权限运行 VsCode 阅读全文
posted @ 2022-01-17 14:30 攻城狮小Liu 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: 血的教训:Python 一定要选 3.6 或者 3.7 太早的Python Miniconda支持有问题太晚的Python版本Tensorflow或者Pytorch不支持 Python: conda create -n pytorch python=3.7 Jupyter: pip install 阅读全文
posted @ 2022-01-17 11:28 攻城狮小Liu 阅读(59) 评论(0) 推荐(0) 编辑
摘要: conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch 可以正常安装完成,但是import torchvision出错: C:\Users\xuyic\anaconda3\envs\pytorch\lib\si 阅读全文
posted @ 2021-12-30 23:49 攻城狮小Liu 阅读(3828) 评论(0) 推荐(0) 编辑
摘要: 安装(二选一)1. iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) 2. @powershell -NoProfile -ExecutionPolicy Bypass -Com 阅读全文
posted @ 2021-12-30 21:59 攻城狮小Liu 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 管理员权限打开powershell或者cmd: conda init powershell 接着,powershell默认不加载配置文件 修改策略代码: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned 阅读全文
posted @ 2021-12-07 19:01 攻城狮小Liu 阅读(289) 评论(0) 推荐(0) 编辑