Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

ImportError: No module named 'openvino' #33

Open
SpursLipu opened this issue Apr 18, 2019 · 17 comments
Open

ImportError: No module named 'openvino' #33

SpursLipu opened this issue Apr 18, 2019 · 17 comments

Comments

@SpursLipu
Copy link

[Required] Your device (RaspberryPi3, LaptopPC, or other device name): RaspberryPi3

[Required] Your device's CPU architecture (armv7l, x86_64, or other architecture name): arm

ありがとうございました
I have already configurated environment in RaspberryPi3 with OpenVINO, but when I ran program of YOLO, this error "ImportError: No module named 'openvino" always occurred. Do you know how to solve this error? Thank you

@PINTO0309
Copy link
Owner

First, check your version of OpenVINO.
Remember to modify the paths listed in your .bashrc, depending on your OpenVINO version.

2019 R1

$ cd ~
$ nano .bashrc
source /opt/intel/openvino/bin/setupvars.sh

$ source .bashrc

2018 R5

$ cd ~
$ nano .bashrc
source /opt/intel/computer_vision_sdk/bin/setupvars.sh

$ source .bashrc

@SpursLipu
Copy link
Author

Thank you for your quick reply.
My version of Openvino is 2019 R1, and I have already cheak my bashrc file. Just like following picture.

2d57e38aee69469ec2a1731a5e1bb58

But it still doesn't work, like this
1248251b1c3f6b971fd5a8242757b14

@PINTO0309
Copy link
Owner

$ source ~/.bashrc

@SpursLipu
Copy link
Author

Still doesn't work.....
0b6ef8e56b98f267dd1b76aa6e45b96

@PINTO0309
Copy link
Owner

Do not use the super user. (#)

@SpursLipu
Copy link
Author

a3e06b55eeb369be1ce4bd26a5ccce9
Still doesn't work...... I don't knwo why, and I want to cry.......

@PINTO0309
Copy link
Owner

$ echo $PYTHONPATH

@SpursLipu
Copy link
Author

ce40af07f337e5fedd54bed13e88112

@dongxiaolong
Copy link

I'm also met the problem. Have you already solve the problem?

@dongxiaolong
Copy link

I may already find the bugs, on the 2019 R1 version ,the openvino module is included by the armv7l, should import openvino by from armv7l.openvino.inference_engine import IENetwork, IEPlugin

@SpursLipu
Copy link
Author

I also solved this problem as you said, think you very much!

@PINTO0309
Copy link
Owner

Fixed by 677b5a9

@ghost
Copy link

ghost commented Jul 1, 2019

I may already find the bugs, on the 2019 R1 version ,the openvino module is included by the armv7l, should import openvino by from armv7l.openvino.inference_engine import IENetwork, IEPlugin

Fixed! Thanks

@bafu
Copy link

bafu commented Jul 5, 2019

Hi all, I made a Debian package for OpenVINO RPi, and it can be installed by the following steps:

$ curl -sL https://raw.githubusercontent.com/DT42/BerryNet-repo/master/setup.sh | sudo -E bash -
$ sudo apt install openvino-rpi

For more details, please refer to https://github.com/DT42/BerryNet-repo

@GraceKafuu
Copy link

Jetson TX2 also met the problem, but can't solve by

from armv7l.openvino.inference_engine import IENetwork, IEPlugin
sudo apt install openvino-rpi

both can't work.
I tryed add PYTHONPATH, but still can't work.
Can anyone help me!

@hafizurmeldcx
Copy link

I may already find the bugs, on the 2019 R1 version ,the openvino module is included by the armv7l, should import openvino by from armv7l.openvino.inference_engine import IENetwork, IEPlugin

Fixed! Thanks

I may already find the bugs, on the 2019 R1 version ,the openvino module is included by the armv7l, should import openvino by from armv7l.openvino.inference_engine import IENetwork, IEPlugin

Having a trouble in installing armv7l in my Windows. Tried:

pip install armv7l

but failed

Can you please clarify how you did install armv7l?

@hafizurmeldcx
Copy link

I also solved this problem as you said, think you very much!

@SpursLipu Can you plz clarify how did you get armv7l installed? Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants