mediapipe
mediapipe copied to clipboard
Missing error message
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
No
OS Platform and Distribution
Windows 64bit
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
Python 3.9
MediaPipe version
0.10.14 (and other 0.10.*)
Bazel version
No response
Solution
FaceLandmarker
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
modify stderr in the Windows Power Shell console
Describe the expected behaviour
display error message in the console
Standalone code/steps you may have used to try to get what you need
For :
print("======")
import mediapipe as md
raise Exception('STDERR')
Ouput :
$ python .\mediapipe_test.py
======
$
Fix found :
print("======")
import sys
sys.stderr = sys.stdout
import mediapipe as md
raise Exception('STDERR')
Ouput :
$ python .\mediapipe_test.py
======
Traceback (most recent call last):
File "C:\*\mediapipe_test.py", line 2, in <module>
raise Exception('STDERR')
Exception: STDERR
$
Other info / Complete Logs
only with Python 3.9 on conda 24.5.0
Hi @username-azerty,
We believe this issue is specific to Python 3.9.* and known to us(Issue #4958) Could you please confirm this? Additionally, could you check with other supported versions (3.10, 3.11, and 3.12) and let us know if the issue occurs there as well?
Thank you!!
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.