Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

numpy not found

Anita_R_
Beginner
1,172 Views

numpy is installed. The code is as below. it says numpy is

import numpy

getting error - RESTART: D:/backup/mpath/Intel/innovation2019/ai/openvino/pythonTutorial/xx.py 
Traceback (most recent call last):
  File "D:/backup/mpath/Intel/innovation2019/ai/openvino/pythonTutorial/xx.py", line 1, in <module>
    import numpy
ModuleNotFoundError: No module named 'numpy'

Need help.

Anita

 

0 Kudos
2 Replies
Shubha_R_Intel
Employee
1,172 Views

Did you run setupvars.bin under bin ? (or the Linux variant) ? If you did and the problem still happens :

Please uninstall Openvino and re-install, this time allowing Openvino to install Python for you. If OpenVino + Python are installed properly, and you ran the setupvars script so that environment vars are set properly - you will not have this issue.

0 Kudos
whatthisismyname
Beginner
1,172 Views

just do the pip3 install numpy or pip3 install intel-numpy which is faster. at least its what is advertised.

0 Kudos
Reply