Open ismail027 opened 3 years ago
Hello,
It seems like an error with your Python version installed.
Please check your Python version:
python --version
Try to re-run the setupvars.sh with your version of Python. Eg for Python 3.6
source /opt/intel/openvino/bin/setupvars.sh -pyver 3.6
Hi, I had the same problem as @ismail027 . I have python 3.6.9 installed. After trying out @mateoguzman's method, I received another error.
mat@mat-VirtualBox:~/Downloads/social-distance-master$ source /opt/intel/openvino/bin/setupvars.sh -pyver 3.6
python_version = 3.6
[setupvars.sh] OpenVINO environment initialized
mat@mat-VirtualBox:~/Downloads/social-distance-master$ python3 socialdistance.py
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
(python3:6059): GStreamer-CRITICAL **: 10:44:16.191: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed [ WARN:0] global ../opencv/modules/videoio/src/cap_gstreamer.cpp (713) open OpenCV | GStreamer warning: Error opening bin: syntax error [ WARN:0] global ../opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created libva info: VA-API version 1.6.0 libva info: va_getDriverName() returns -1 libva info: User requested driver 'iHD' libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_6 DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [22] param: 4, val: 0 libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed libva info: va_openDriver() returns 18 MFX: Can't initialize session
Hi,
Encountered below, when running the python script. Appreciate thanks!
ismail@ismail-VirtualBox:~/Intel/social-distance$ python3 socialdistance.py Traceback (most recent call last): File "socialdistance.py", line 18, in
from openvino.inference_engine import IENetwork, IECore
File "/opt/intel/openvino_2020.3.194/python/python3.5/openvino/inference_engine/init.py", line 1, in
from .ie_api import *
ImportError: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory