Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip3安装的comtool运行指令报错,运行在树莓派4B #133

Open
tekleung opened this issue Apr 9, 2024 · 0 comments
Open

pip3安装的comtool运行指令报错,运行在树莓派4B #133

tekleung opened this issue Apr 9, 2024 · 0 comments

Comments

@tekleung
Copy link

tekleung commented Apr 9, 2024

pip3安装的comtool运行指令报错
root@root:/home/ttt/COMTool# comtool
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/COMTool/Main.py", line 4, in
from main2 import main
ModuleNotFoundError: No module named 'main2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/COMTool/main2.py", line 9, in
import parameters
ModuleNotFoundError: No module named 'parameters'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/comtool", line 5, in
from COMTool.Main import main
File "/usr/local/lib/python3.8/dist-packages/COMTool/Main.py", line 7, in
from COMTool.main2 import main
File "/usr/local/lib/python3.8/dist-packages/COMTool/main2.py", line 12, in
from COMTool import parameters
File "/usr/local/lib/python3.8/dist-packages/COMTool/parameters.py", line 43, in
configFileDir = os.path.join(os.getenv("HOME"), ".config/comtool")
File "/usr/lib/python3.8/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant