我在 macos 上通过 pyinstaller 使用 mediapipe 编译项目时遇到问题
到目前为止,我尝试过:
pyinstaller --windowed --noconsole pose_edge.py
pyinstaller --onefile --windowed --noconsole pose_edge.py
pyinstaller --noconsole pose_edge.py
.app 无法打开,如果我尝试使用 unix exec,我会得到
Traceback (most recent call last):
File "pose_edge.py", line 26, in <module>
File "mediapipe/python/solutions/selfie_segmentation.py", line 54, in __init__
File "mediapipe/python/solution_base.py", line 229, in __init__
FileNotFoundError: The path does not exist.
[36342] Failed to execute script pose_edge
我使用 conda,我的环境在 python 3.8、mediapipe 0.8.5 和 OSX 10.15.7
提前致谢