PINTO0309 / OpenVINO-YoloV3

YoloV3/tiny-YoloV3+RaspberryPi3/Ubuntu LaptopPC+NCS/NCS2+USB Camera+Python+OpenVINO
https://qiita.com/PINTO
Apache License 2.0
538 stars 167 forks source link

ImportError: No module named 'openvino' #33

Open SpursLipu opened 5 years ago

SpursLipu commented 5 years ago

[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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago
$ source ~/.bashrc
SpursLipu commented 5 years ago

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

PINTO0309 commented 5 years ago

Do not use the super user. (#)

SpursLipu commented 5 years ago

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

PINTO0309 commented 5 years ago
$ echo $PYTHONPATH
SpursLipu commented 5 years ago

ce40af07f337e5fedd54bed13e88112

dongxiaolong commented 5 years ago

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

dongxiaolong commented 5 years ago

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 commented 5 years ago

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

PINTO0309 commented 5 years ago

Fixed by 677b5a9a7d23b113c57b863f980541fad87bf69b

ghost commented 5 years ago

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 commented 5 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.