Cannot run with mediapipe lib #597
Replies: 2 comments
-
Thanks for the question. In this case, the issue is almost certainly that you haven't declared the dependency on If you have added mediapipe to your If the app still doesn't work, there may be something else going on. However, to diagnose the problem, we will need a lot more detail. When you opened this bug report, you should have been prompted for a lot of detail about your environment - operating system, Python version, target platform, and more. We ask for this information for a reason - it's essential that you provide it, because it's a key part of diagnosing any problem that has occurred. |
Beta Was this translation helpful? Give feedback.
-
thanks for your reply, @freakboy3742 .
[helloworld] Generating application template... [helloworld] Installing support package... [helloworld] Installing dependencies... [helloworld] Installing application code... [helloworld] Installing application resources... [helloworld] Created macOS/Hello World [helloworld] Built macOS/Hello World/Hello World.app [helloworld] Built macOS/Hello World/Hello World.app [helloworld] Starting app... The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3665, _LSFunction=_LSOpenStuffCallLocal} Unable to start app helloworld. |
Beta Was this translation helpful? Give feedback.
-
just create a helloworld project,then add mediapipe lib,import mediapipe in app.py,it can build but cannot run app. the following is test code
"""
My first application
"""
import toga
from toga.style import Pack
from toga.style.pack import COLUMN, ROW
import cv2
import mediapipe as mp
class HelloWorld(toga.App):
def main():
return HelloWorld(
Beta Was this translation helpful? Give feedback.
All reactions