bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 207 forks source link

ModuleNotFoundError: No module named 'openvino' error #111

Open LunarTaku opened 1 year ago

LunarTaku commented 1 year ago

i keep getting the

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
  File "/Users/lunar/Desktop/stable_diffusion.openvino-master/demo_web.py", line 12, in <module>
    from stable_diffusion_engine import StableDiffusionEngine
  File "/Users/lunar/Desktop/stable_diffusion.openvino-master/stable_diffusion_engine.py", line 5, in <module>
    from openvino.runtime import Core
ModuleNotFoundError: No module named 'openvino'

error, any help? OS: macos 10.15.7 Core: i7 6600U vPro RAM: 16GB ive tried all of the above and nothing has worked so far.

alabasterfox commented 1 year ago

openvino is not installed. try running:

pip3 install openvino

LunarTaku commented 1 year ago

openvino is not installed. try running:

pip3 install openvino

it is installed though:

Requirement already satisfied: openvino in /usr/local/lib/python3.9/site-packages (2022.1.0)
Requirement already satisfied: numpy<1.20,>=1.16.6 in /usr/local/lib/python3.9/site-packages (from openvino) (1.19.5)
alabasterfox commented 1 year ago

Could it be that your openvino is installed under Python3.9 but your project is searching for it under Python3.11?

oladimeji09 commented 1 year ago

were you able to solve this @LunarTaku, I ran into the same error ?

LunarTaku commented 1 year ago

e

nope i just used the CLI :(