Community
cancel
Showing results for 
Search instead for 
Did you mean: 
timofeev__vasil
Beginner
285 Views

Ubuntu python import error

Please help

all is NEW installed

all in right catalogs

but:

/usr/bin/python3.6 /home/vasili/work/cpp_samples/samples/python_samples/classification_sample.py
Traceback (most recent call last):
  File "/home/vasili/work/cpp_samples/samples/python_samples/classification_sample.py", line 29, in <module>
    from openvino.inference_engine import IENetwork, IEPlugin
  File "/opt/intel/computer_vision_sdk/python/python3.6/ubuntu16/openvino/inference_engine/__init__.py", line 1, in <module>
    from .ie_api import *
ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

0 Kudos
2 Replies
Severine_H_Intel
Employee
285 Views

Dear Vasil, 

can you write which command line did you run? Have you setup the environment variables before running the sample? 

source /opt/intel/computer_vision_sdk/bin/setupvars.sh

Best, 

Severine

neko
Beginner
285 Views

This happens if you did not install python developer package. Try:

apt-get install python3.6-dev
Reply