Installing Stable-Diffusion seems to be a bit hit and miss depending on the varations of o/s and the release of SD. On one machine/version the SD requirements also delivered the OpenVino requirements, on another they did not so I had to install OpenVino separately using the main OpenVino Install page.

Install Variation One - Simple, Automated but Unreliable

On one machine I was able to do a fully automated install as follows

  python3 -m venv openvino_env
  source openvino_env/bin/activate
  python -m pip install --upgrade pip
  pip install openvino
Now clone and install the Stable Diffusion Open Vino repo
  git clone https://github.com/bes-dev/stable_diffusion.openvino
  cd stable_diffusion.openvino
  pip install -r requirements.txt
To run activate the env
  source openvino_env/bin/activate
  test with: python -c "from openvino.runtime import Core"
If there are no errors, should be ready to run.

Install Variation Two - Complex, Manual but Reliable

On another machine I needed to to the OpenVino more manually, but I did not need to clone the repo at https://github.com/openvinotoolkit/openvino, instead I needed used the instructions at the install page and downloaded the repo and manually copied it from here then copied it to openvino_2022. Then setting up the environment

  source setupvars.sh
Then I was able to run from stable_diffusion.vino on that machine.

Phew !