COMTool安装测试
跨平台的,Linux、Windows多端可用的,简洁易用的串口调试工具
·
COMTool安装测试
没错,这又是GitHub上的一个开源项目,我几乎又折腾了一下午,依旧没有成功
https://github.com/Neutree/COMTool
我下载了Windows的版本,确实挺简洁,可以选择开启发送和接收的时间戳
官方给的安装过程总是很简单,但实际搞起来总是一堆问题
requirement PyQt5-Qt5>=5.15.2
Could not find a version that satisfies the requirement PyQt5-Qt5>=5.15.2 (from pyqt5) (from version
pip3 install --upgrade pip
pip3 install pyqt5
Python ≥ 3.7
切换到3.7以后发现pip又用不了
No module named ‘pip._internal‘
pip安装报错ImportError: No module named ‘pip._internal‘解决方法 | 晓物智联
python3 -m pip install --upgrade pip
上面的问题都解决以后,可以正常安装comtool,但启动comtool还是会遇到问题
redwall@redwall-G3-3500:~$ comtool
2023-03-07 19:10:10 - [INFO] - Config path: /home/redwall/.config/comtool/config.json
2023-03-07 19:10:10 - [INFO] - Log path: /home/redwall/.config/comtool/run.log
2023-03-07 19:10:10 - [INFO] - loading config from /home/redwall/.config/comtool/config.json
2023-03-07 19:10:10 - [INFO] - loading config complete
-- set locale to en
Traceback (most recent call last):
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/Main.py", line 4, in <module>
from main2 import main
ModuleNotFoundError: No module named 'main2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/main2.py", line 27, in <module>
import helpAbout,autoUpdate
ModuleNotFoundError: No module named 'helpAbout'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/plugins/graph.py", line 9, in <module>
from Combobox import ComboBox
ModuleNotFoundError: No module named 'Combobox'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/redwall/.local/bin/comtool", line 5, in <module>
from COMTool.Main import main
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/Main.py", line 7, in <module>
from COMTool.main2 import main
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/main2.py", line 42, in <module>
from COMTool.plugins import builtinPlugins
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/plugins/__init__.py", line 4, in <module>
from . import graph
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/plugins/graph.py", line 21, in <module>
from COMTool.plugins.graph_widgets import graphWidgets
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/plugins/graph_widgets.py", line 22, in <module>
from .graph_widget_metasenselite import Graph_MetaSenseLite
File "/home/redwall/.local/lib/python3.7/site-packages/COMTool/plugins/graph_widget_metasenselite.py", line 9, in <module>
from PIL import Image
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 60, in <module>
from . import _imaging as core
ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)
main2、helpAbout等应该是自己写的模块,pip安装不了
在GitHub上向作者提了issue,作者也即时给出了回复,升级pillow可以正常打开
https://github.com/Neutree/COMTool/issues/93
redwall@redwall-G3-3500:~$ comtool
2023-03-08 15:04:10 - [INFO] - Config path: /home/redwall/.config/comtool/config.json
2023-03-08 15:04:10 - [INFO] - Log path: /home/redwall/.config/comtool/run.log
2023-03-08 15:04:10 - [INFO] - loading config from /home/redwall/.config/comtool/config.json
2023-03-08 15:04:10 - [INFO] - loading config complete
-- set locale to en
2023-03-08 15:04:10 - [INFO] - init main window
2023-03-08 15:04:10 - [INFO] - icon path: /home/redwall/.local/lib/python3.7/site-packages/COMTool/assets/logo.png
2023-03-08 15:04:10 - [INFO] - init main window complete
2023-03-08 15:04:10 - [INFO] - load plugin items complete
2023-03-08 15:04:10 - [INFO] - data path:/home/redwall/.local/lib/python3.7/site-packages/COMTool
2023-03-08 15:04:11 - [INFO] - Already latest version!
更多推荐
已为社区贡献2条内容
所有评论(0)