# vtestforlinux86orarm **Repository Path**: spyhooky/vtestforlinux86orarm ## Basic Information - **Project Name**: vtestforlinux86orarm - **Description**: Python FluentUI 串口测试软件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-11-04 - **Last Updated**: 2024-11-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # VTestForLinux86orArm ## 1. 项目地址 ```html https://gitee.com/Abaddonet/vtestforlinux86orarm.git ``` ## 2. 项目环境配置 ### 2.1 Conda环境配置(可选) ```cmd conda create -n testpySide6 python=3.11 #创建名称为testpyqt6(名称可自定义),python版本为3.11的虚拟环境 conda activate testpySide6 #在Anaconda Powershell Prompt命令行工具下激活命名为testpyqt6的python虚拟环境,下述均在该命令行工具下配置 ``` ### 2.2 Python环境配置 #### 配置 pyqt6 与 pyserial ```cmd pip install pySide6 pip install pyserial ``` #### 配置 pyqt6-Fluent ```cmd #安装pyqt-Fluent 轻量版 或 完整版 pip install PySide6-Fluent-Widgets -i https://pypi.mirrors.ustc.edu.cn/simple/ #轻量版(AcrylicLabel 不可用) pip install "PySide6-Fluent-Widgets[full]" -i https://pypi.mirrors.ustc.edu.cn/simple/ #完整版 建议安装这个 #相关问题可参考 https://pyqt-fluent-widgets.readthedocs.io/zh-cn/latest/quick-start.html ``` #### 配置 pyserial pyinstaller ```cmd pip install pyserial #安装pyserial包 pip install pyinstaller ``` ## 3. 打包程序 ```cmd pyinstaller -w -i .\resource\icon.png .\main.py #打包后程序在dist文件夹下运行 #若运行出现问题可参考以下网页视频: #https://www.bilibili.com/video/BV1yX4y1m7MF/?spm_id_from=333.788&vd_source=8c9e51533835d4cdd127faedd8046834 ```