ImportError: DLL load failed while importing ie_api: The specified module could not be found. #40
-
Hi, I encountered the below error, when I run the 001-hello-world. ImportError Traceback (most recent call last) ~\openvino_notebooks\openvino_env\lib\site-packages\openvino\inference_engine_init_.py in ImportError: DLL load failed while importing ie_api: The specified module could not be found. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi! The README covers all the steps, you do not need to install OpenVINO through other channels. |
Beta Was this translation helpful? Give feedback.
-
Thanks @meng032020 , that is helpful! I see that your Python is from anaconda/miniconda (because of (base) after (openvino_env)). It is very likely that that causes the error. I will test this and write instructions for this situation. In the meantime, if you want to try the notebooks, you could install Python from https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe . If you are using Anaconda for other projects, you should not select the "add Python to your Windows PATH" box. If you install it for your current user, the executable will then be
and then follow the instructions starting with step 3. To be safe, I would remove the existing Jupyter kernel for openvino_env with This is just a temporary workaround though, the notebooks should work with your conda python too, and I will look into that. |
Beta Was this translation helpful? Give feedback.
Thanks @meng032020 , that is helpful! I see that your Python is from anaconda/miniconda (because of (base) after (openvino_env)). It is very likely that that causes the error. I will test this and write instructions for this situation. In the meantime, if you want to try the notebooks, you could install Python from https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe . If you are using Anaconda for other projects, you should not select the "add Python to your Windows PATH" box. If you install it for your current user, the executable will then be
C:\Users\<username>\AppData\Local\Programs\Python\Python37\python.exe
and you open a new command prompt, and make the virtualenv by typ…