openvino_notebooks icon indicating copy to clipboard operation
openvino_notebooks copied to clipboard

Installed openvino notebook using docker. But check_install.py failed

Open gooishin opened this issue 1 year ago • 0 comments

Describe the bug I get this message after install using docker. Docker install command: docker build -t openvino_notebooks .

Successfully built f30e6fa7e919 Successfully tagged openvino_notebooks:latest

Docker run command: docker run -it -v /etc/group:/etc/group --device=/dev/dri --group-add=$(stat -c "%g" /dev/dri/render* | head -n 1) --group-add=$(stat -c "%g" /dev/dri/card* | head -n 1) -p 8888:8888 openvino_notebooks

But when i run check_install.py, it shows some error

(app-root) bash-4.4$ python check_install.py 
System information:
Python executable: /opt/app-root/bin/python
Pip version: 23.3.2
OpenVINO source: /opt/app-root/lib64/python3.8/site-packages/openvino
OpenVINO IE version: 2024.1.0-15008-f4afc983258-releases/2024/1
OpenVINO environment activated: NOT OK
Jupyter kernel installed for openvino_env: NOT OK
Python version: 3.8 OK
OpenVINO pip package installed: OK
OpenVINO import succeeds: OK
OpenVINO development tools installed: OK
OpenVINO not installed globally: OK
No broken requirements: OK

It appears that you are not running Python in an `openvino_env` 
environment. It is possible use the notebooks in a different 
environment, but if you run into trouble, please follow the instructions 
in the README to install and activate the `openvino_env` environment.

The Python version in openvino_env does not match the openvino_env Jupyter kernel.
This may not be an issue. If you experience issues, please follow the instructions
in the README to reinstall the kernel.

The README.md file is located in the openvino_notebooks directory 
and at https://github.com/openvinotoolkit/openvino_notebooks

i'm using docker, how do I create and source the environment?

Expected behavior check_install.py pass

Screenshots If applicable, add screenshots to help explain your problem.

Installation instructions (Please mark the checkbox) [ x ] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks/wiki/Docker

** Environment information ** As stated above

Additional context Just a feedback, when run docker container, there is no check_install.py script, i copy it manually into jupyter notebook via web browser.

gooishin avatar May 10 '24 09:05 gooishin