Hello,
just fresh installed openvino on AWS EC2 (Deep Learning AMI, c5.xlarge) instance through apt according to the doc. My single-line python script fails with the following output:
python openvino_test.py Traceback (most recent call last): File "openvino_test.py", line 1, in <module> from openvino.inference_engine import IENetwork, IECore File "/opt/intel/openvino_2019.2.242/python/python3.6/openvino/inference_engine/__init__.py", line 1, in <module> from .ie_api import * ImportError: /opt/intel/openvino_2019.2.242/python/python3.6/openvino/inference_engine/ie_api.so: undefined symbol: PyFPE_jbuf
How can I fix it? Thanks in advance!
链接已复制
Dear Fadeev, Andrey
We just released OpenVino 2019R3 so please upgrade. But most probably your issue is that you're calling python2 not python3. Replace :
python openvino_test.py
with
python3 openvino_test.py
Hope it helps,
Thanks,
Shubha
Shubha, thanks for reply!
Unfortunately it doesn't help much. I just tried one more time with new instance and fresh install.
- installing through apt according to doc gives me version 2:
ls /opt/intel/ openvino openvino_2019.2.242
- explicit python3 produces same output:
python3 openvino_test.py Traceback (most recent call last): File "openvino_test.py", line 1, in <module> from openvino.inference_engine import IENetwork, IECore File "/opt/intel/openvino_2019.2.242/python/python3.6/openvino/inference_engine/__init__.py", line 1, in <module> from .ie_api import * ImportError: /opt/intel/openvino_2019.2.242/python/python3.6/openvino/inference_engine/ie_api.so: undefined symbol: PyFPE_jbuf
Some additional info. I tried non-apt install through unpacking tgz (latest ver. 3) and it gives me same error on those EC2 instances (same AMI and hardware configuration). But it works just fine on my pc and laptop... I think this case could be interesting for both Openvino and AWS users. I will test it more on other software / hardware AWS configs in any case on Monday. Feel free to provide any insights on this.
