Skip To Main Content
Support Knowledge Base

Error: “resolvedPylancereportMissingImports” When Importing Notebook_utils on OpenVINO™ Notebooks

Content Type: Error Messages   |   Article ID: 000089575   |   Last Reviewed: 05/20/2022

Environment

WSL2, Ubuntu 20.04

Description

  • Downloaded OpenVINO™ Notebooks
  • Installed required packages:
    python -m pip install --upgrade pip
    pip install -r requirements.txt
  • Encountered the error when importing notebook_utils:
    ERROR: Import "notebook_utils" could not be resolvedPylancereportMissingImports

Resolution

Follow the steps for your OS in the OpenVINO Notebooks Installation Guide

  • Install additional libraries:

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install python3-venv build-essential python3-dev git-all

  • Create a virtual environment:

    python3 -m venv openvino_env

  • Activate the virtual environment:

    source openvino_env/bin/activate

  • Clone the repository:

    git clone --depth=1 https://github.com/openvinotoolkit/openvino_notebooks.git
    cd openvino_notebooks

  • Install the dependencies packages:

    python -m pip install --upgrade pip
    pip install -r requirements.txt

  • Install the virtualenv Kernel in Jupyter:

    python -m ipykernel install --user --name openvino_env

Additional information

Related Products

This article applies to 2 products.

Discontinued Products

Intel® Developer Cloud for the Edge