- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @everyone,
when trying to run an app inside the OpenVino Environment that imports OpenCV I received following Import Error:
Traceback (most recent call last): File "app.py", line 2, in <module> import cv2 ImportError: dlopen(/opt/intel/openvino_2019.3.376/python/python3/cv2.so, 2): Symbol not found: _PyBytes_AsString Referenced from: /opt/intel/openvino_2019.3.376/python/python3/cv2.so Expected in: flat namespace in /opt/intel/openvino_2019.3.376/python/python3/cv2.so
I ran all verification scripts successfully after installing the toolkit and also was able so far to download pre-trained models from the OpenVino Model Zoo. Does anyone has an idea and or guidance on what I can do about it?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, actually just the change from
python
to
python3
did the trick. Using just "python" refers to an outdated version that comes preinstalled with macOS.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is your platform and Python version? Add full output of the command:
python3 -c 'import cv2'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, actually just the change from
python
to
python3
did the trick. Using just "python" refers to an outdated version that comes preinstalled with macOS.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page