- 博客(15)
- 收藏
- 关注
原创 rsync基本命令和用法
既然rsync通过远程shell就能实现两端主机上的文件同步,还要使用rsync的服务干啥?试想下,你有的机器上有一堆文件需要时不时地同步到众多机器上去,比如目录a、b、c是专门传输到web服务器上的,d/e、f、g/h是专门传输到ftp服务器上的,还要对这些目录中的某些文件进行排除,如果通过远程shell连接方式,无论是使用排除规则还是包含规则,甚至一条一条rsync命令地传输,这都没问题,但太过繁琐且每次都要输入同样的命令显得太死板。使用rsync daemon就可以解决这种死板问题。
2025-03-15 10:51:37
992
原创 安卓开启ssh
访问SimpleSSHD服务,由于程序第一次启动是开启了一个终端在前台运行,你会看到控制台在检测了没有密钥存在,就会提示登陆密码,,可以配置密钥直接登陆,参考 https://cloud-atlas.readthedocs.io/zh-cn/latest/android/hack/android_sshd.html。上,这个SSH服务建议使用密钥登陆,但是,如果首次运行,还没有复制公钥到服务器端时,提供了一个简单的一次性密码登陆方式。/mnt/mobile/sync/ 源路径。
2025-03-15 10:47:18
1192
原创 ADB常用命令大全
获取CPU序列号:文章来源地址:https://www.yii666.com/article/346154.html。获取设备名称:文章来源地址https://www.yii666.com/article/346154.html。查看IO内存分区:地址:https://www.yii666.com/article/346154.html。获取序列号:来源地址:https://www.yii666.com/article/346154.html。
2025-03-15 10:41:17
1613
原创 Android_Uiautomatorviewer闪退问题
1、-Djava.ext.dirs not support ,Use -classpath instead.这个参数在 JDK11 不再支持了, 要求你使用 -classpath/–class-path 参数,然后如果你用了这个参数会出现下面的第二个问题。4、选择sdk/tools文件夹下的uiautomatorviewer.bat,右键选择编辑,将对应内容删除并保存。1、进入sdk/tools/lib文件夹下,找到uiautomatorviewer.jar包。(所以不能使用该方法)
2024-03-05 09:46:49
744
1
原创 python 打包执行exe comtypes.gen.UIAutomationClient‘ has no attribute ‘CUIAutomation‘
AttributeError: module 'comtypes.gen.UIAutomationClient' has no attribute 'CUIAutomation'
2024-01-29 15:08:46
438
原创 paddleocr打包exe,结果执行异常问题汇总
1.修改.spec2.问题核心问题就是:ModuleNotFoundError: No module named 'framework_pb2'找不到framework_pb2然后重新用打包生成exe,运行发现还是报错,执行下面第2步。
2023-12-20 14:31:05
1542
原创 from paddleocr import PaddleOCR执行exe,ModuleNotFoundError: No module named ‘framework_pb2‘
from paddleocr import PaddleOCR File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "paddleocr.py", line 21, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "paddle\__init__.py",
2023-12-20 11:33:51
541
原创 python 安装pip install avx失败
f.close();f.close();f.close();f.close();f.close();f.close();f.close();f.close();f.close();
2023-12-20 10:16:48
453
原创 引用from paddleocr import PaddleOCR库,并且pyinstaller 打包exe正常,但是执行exe,提示异常并且闪退Error: Can not import avx c
ImportError: DLL load failed: 找不到指定的模块。
2023-12-19 19:27:23
814
原创 AttributeError:module‘comtypes.gen.UIAutomationClient‘has no attributes ‘CUIAutomation‘
既然知道出错的原因,那么就容易对症下药,根治问题。将comtypes_cache目录整个删掉.
2023-12-18 17:00:20
778
原创 opencv-contrib-python安装找不到ideo_capture_xaml.WindowsPhone_TemporaryKey.pfx
C:\Users\Administrator>pip install opencv-contrib-python==4.8.1.78Collecting opencv-contrib-python==4.8.1.78 Downloading opencv-contrib-python-4.8.1.78.tar.gz (151.2 MB) |████████████████████████████████| 151.2 MB 15 kB/sERROR: Could not install p
2023-12-16 14:01:57
619
1
原创 pyinstaller -D --version-file file_version_info.txt RunMain.spec打包提示:KeyError: ‘CALL_FUNCTION‘?如何解决
2023-12-14 20:25:41
682
1
原创 python xlsx.py 执行提示:AttributeError: ‘ElementTree‘ object has no attribute ‘getiterator‘
在安装python 第三方库路径:D:\python\python11\Lib\site-packages\xlrd 找到,打开。
2023-12-14 15:45:38
493
1
原创 python3.11pyinstaller 异常227854 INFO: Looking for dynamic librariesD:\python\python11\Lib\site-packa
227854 INFO: Looking for dynamic librariesD:\python\python11\Lib\site-packages\PyInstaller\building\build_main.py:194: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47. __import__(package)D:\python\python11\Lib\site-packages
2023-12-13 10:39:38
3384
3
原创 option(s) not allowed: --onedir/--onefile --version-filemakespec options not valid when a .spec
pyinstaller打包python程序报错。解决:不使用 -F 参数。
2023-12-13 10:13:42
2771
2
window缺少文件:cublas64-110.dll/cublas64-101.dll/cublas64-7.dll等
2023-12-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人