- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please help me, i can`t load cv2 and ie into pypy3
Variables (setupvars) are loaded
Ubuntu 18.04 LTS
[setupvars.sh] OpenVINO environment initialized (venv) imt@imt-G7-7790:~/cs$ pypy3 Python 3.6.9 (1608da62bfc7, Dec 23 2019, 10:50:04) [PyPy 7.3.0 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux Type "help", "copyright", "credits" or "license" for more information. >>>> import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'cv2' >>>> (venv) imt@imt-G7-7790:~/cs$ source /opt/intel/openvino/bin/setupvars.sh [setupvars.sh] OpenVINO environment initialized (venv) imt@imt-G7-7790:~/cs$ pypy3 Python 3.6.9 (1608da62bfc7, Dec 23 2019, 10:50:04) [PyPy 7.3.0 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux Type "help", "copyright", "credits" or "license" for more information. >>>> import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'cv2' >>>> (venv) imt@imt-G7-7790:~/cs$
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vasil,
Have you tried using python3 instead of pypy3?
It is recommended to use the supported python versions
Regards,
Jaivin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
Sure with python3 it works, but i want more...
i don't understand how to show pypy3 to look for cv2 and ie libraries! load variables seems to has no effect
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
Sure with python3 it works, but i want more...
i don't understand how to show pypy3 to look for cv2 and ie libraries! load variables seems to has no effect
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vasil,
As mentioned in the documentation OpenVINO on Ubuntu* 18.04 supports only 2.7, 3.5, 3.6 and 3.7 standard versions of Python. The PyPy3 implementation of Python may not be compatible with OpenVINO.
Thanks,
Jaivin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi James!
sorry for the bad explication, the problem was not the run-time failure by using pypy but that a can't set local variables for pypy to see cv2 and ie.
Thanks
Vasili
![](/skins/images/AF5E7FF58F8A386030D1DB97A0249C2E/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page