- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Openvino module not found in dev cloud's jupyter lab using terminal even after installing it using the following link.
https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_conda.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please try this also :
1) Activate the conda environment that is problematic, and check the correct executable path for the environment
>>>import sys
>>> sys.executable
Do the same in the notebook by choosing the same environment kernel and check whether the executable path is different or not.
2) From command line, check the path where kernel.json of your problematic conda environment is located.
jupyter kernelspec list
For instance on Linux it will be: /home/{username}/.local/share/jupyter/kernels/{environment name}
Open the kernel.json located in that folder and replace the incorrect executable path, as shown below.
{
"argv": [
"REPLACE-THIS-WITH-THE-CORRECT-EXECUTABLE-PATH",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "heterodimers",
"language": "python"
}
Try this and let us know the updates.
Thanks ,
Raeesa
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel DevCloud Forum.
Please make sure that the environment path is correct.
Open a new terminal and activate the environment.
$conda activate <env-name>
$which python
If the path is different, export it manually :
$export PATH= ~/.conda/envs/<env-name>/bin/:$PATH
Also, please try installing it in a fresh environment and check whether downloading and extracting is done properly.
Thanks and Regards,
Raeesa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am able to import openvino in terminal. but with the same env getting error in notebook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please connect to DevCloud again and make sure that export command is correct and check whether its working fine .If issue still persists, share the export command or screenshot.
Also, you can try installing it in a new environment.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My PATH variable is resetting and changed to default every time when I refresh the page. I am attaching two screenshots, where in terminal its working as expected but the same env is not working in notebook.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We were not able to reproduce the issue from our end . Could you please try exporting the environment path in notebook ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Still issue is persisting please find below error
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-2-82b2d7f92c72> in <module>() ----> 1 from openvino.inference_engine import IECore /home/u49312/.conda/envs/onnx/lib/python3.7/openvino/inference_engine/__init__.py in <module>() ----> 1 from .ie_api import * 2 __all__ = ['IENetwork', "TensorDesc", "IECore", "Blob", "PreProcessInfo", "get_version"] 3 __version__ = get_version() 4 ie_api.pyx in init openvino.inference_engine.ie_api() constants.pyx in init openvino.inference_engine.constants() ModuleNotFoundError: No module named 'numpy'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you install the numpy package in your environment :
conda install numpy
and try the import statement again.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please try this also :
1) Activate the conda environment that is problematic, and check the correct executable path for the environment
>>>import sys
>>> sys.executable
Do the same in the notebook by choosing the same environment kernel and check whether the executable path is different or not.
2) From command line, check the path where kernel.json of your problematic conda environment is located.
jupyter kernelspec list
For instance on Linux it will be: /home/{username}/.local/share/jupyter/kernels/{environment name}
Open the kernel.json located in that folder and replace the incorrect executable path, as shown below.
{
"argv": [
"REPLACE-THIS-WITH-THE-CORRECT-EXECUTABLE-PATH",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "heterodimers",
"language": "python"
}
Try this and let us know the updates.
Thanks ,
Raeesa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad that your issue got resolved. We are discontinuing monitoring this thread.
Please raise a new thread if you encounter any further issues. We would be happy to help you.
Thanks and Regards,
Raeesa

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page