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

numpy not found

Anita_R_
Beginner
453 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
453 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.

whatthisismyname
Beginner
453 Views

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

Reply