bes-dev / stable_diffusion.openvino

Apache License 2.0
1.54k stars 206 forks source link

Could not find a version that satisfies the requirement openvino==2022.1.0 #45

Open MonoBen opened 2 years ago

MonoBen commented 2 years ago

ERROR: Could not find a version that satisfies the requirement openvino==2022.1.0 (from -r requirements.txt (line 6)) (from versions: 2021.2, 2021.3.0, 2021.4.0, 2021.4.1, 2021.4.2)
ERROR: No matching distribution found for openvino==2022.1.0 (from -r requirements.txt (line 6))

Mikhael-Danilov commented 2 years ago

Use python 3.8 or 3.9 Where is no openvino==2022.1.0 yet for python 3.10+

koji commented 2 years ago

For python 3.8, you can use openvino: 2022.1.0

albert-hzbn commented 2 years ago

@MonoBen Try updating PIP to the highest version.

chaos4455 commented 2 years ago

I used python 3.9 and update the pip.

AlexeyPogorelov commented 2 years ago

the same issue on Ubuntu

sickmartian commented 2 years ago

Using windows wsl, with ubuntu, after installing python 3.9 with:

sudo apt install python3.9

Running

python3.9 -m pip3 install --upgrade pip

as it says https://www.intel.com/content/www/us/en/support/articles/000091171/software/development-software.html worked

sickmartian commented 2 years ago

In pop_os/ubuntu/etc, it's important to use python3.9, for python3.10 there is no package of openvino it seems. I had an issue creating a venv, solved it by installing python3.9-venv like it says here: https://www.liquidweb.com/kb/how-to-install-and-update-python-to-3-9-in-ubuntu/ and then the installation of the requirements ran fine.

dronov-dmitry commented 1 year ago
sudo apt install python3.9
python3.9 -m pip install -r requirements.txt

It work for me on Linux Mint Have a good day guys from Ukraine :)

cognitica-swe commented 1 year ago

I tried all the solution but still getting the error

pip install openvino==2022.1.0 ERROR: Could not find a version that satisfies the requirement openvino==2022.1.0 (from versions: 2021.3.0, 2021.4.0, 2021.4.1, 2021.4.2, 2023.0.0.dev20230217, 2023.0.0.dev20230407) ERROR: No matching distribution found for openvino==2022.1.0

brmarkus commented 1 year ago

Can you provide more details about your environment, like which OperatingSystem in which version, please? How have you tried "all the solution"?

Do you try to install "natively" in the OS, or within a Python virtual-env, or within a container?

Do you want to use pip or pip3? Do you have multiple versions of Python installed side-by-side? How to you use python then, via a symbolic link, or calling python3.9?

cognitica-swe commented 1 year ago

By "all the solution", I meant the solutions listed above in this thread. I installed openvino runtime and ran the "source setupvar.sh" again. After which "pip install openvino==2022.1.0" worked. Thank you!

sherlockholms221B commented 1 year ago

ran : pip install openvino-dev

Could not find a version that satisfies the requirement openvino==2022.3.0 (from openvino-dev) (from versions: none)

Agamemnonsrf commented 1 year ago

I had the same error, it happened because I had a 32-bit version of python installed. I removed it and installed a 64-bit one