intel / openvino-ai-plugins-gimp

GIMP AI plugins with OpenVINO Backend
Apache License 2.0
486 stars 52 forks source link

Could not find a version that satisfies the requirement openvino==2022.3.0 #13

Closed Be27f closed 1 year ago

Be27f commented 1 year ago

Hello, Could you help to check this issue when I install on Win11? I run the below command in step 2 of windows installation part, it report the version error message of python module . openvino-ai-plugins-gimp\install.bat

Thanks.

**** openvino-ai-plugins-gimp Setup started ****
Requirement already satisfied: virtualenv in c:\users\jiaqi\appdata\local\programs\python\python311\lib\site-packages (20.21.0)
Requirement already satisfied: distlib<1,>=0.3.6 in c:\users\jiaqi\appdata\local\programs\python\python311\lib\site-packages (from virtualenv) (0.3.6)
Requirement already satisfied: filelock<4,>=3.4.1 in c:\users\jiaqi\appdata\local\programs\python\python311\lib\site-packages (from virtualenv) (3.12.0)
Requirement already satisfied: platformdirs<4,>=2.4 in c:\users\jiaqi\appdata\local\programs\python\python311\lib\site-packages (from virtualenv) (3.2.0)
created virtual environment CPython3.11.3.final.0-64 in 211ms
  creator CPython3Windows(dest=D:\project\gimpenv3, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\jiaqi\AppData\Local\pypa\virtualenv)
    added seed packages: pip==23.0.1, setuptools==67.4.0, wheel==0.38.4
  activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
ERROR: Could not find a version that satisfies the requirement openvino==2022.3.0 (from versions: none)
ERROR: No matching distribution found for openvino==2022.3.0

[notice] A new release of pip is available: 23.0.1 -> 23.1
[notice] To update, run: D:\project\gimpenv3\Scripts\python.exe -m pip install --upgrade pip
Processing d:\project\openvino-ai-plugins-gimp
  Preparing metadata (setup.py) ... done
Collecting numpy
  Using cached numpy-1.24.2-cp311-cp311-win_amd64.whl (14.8 MB)
Collecting scipy
  Using cached scipy-1.10.1-cp311-cp311-win_amd64.whl (42.2 MB)
Collecting typing
  Using cached typing-3.7.4.3.tar.gz (78 kB)
  Preparing metadata (setup.py) ... done
Collecting gdown
  Using cached gdown-4.7.1-py3-none-any.whl (15 kB)
Collecting requests
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting opencv-python<=4.3
  Using cached opencv_python-3.4.18.65-cp36-abi3-win_amd64.whl (31.3 MB)
Collecting scikit-image
  Using cached scikit_image-0.20.0-cp311-cp311-win_amd64.whl (23.7 MB)
Collecting timm==0.4.5
  Using cached timm-0.4.5-py3-none-any.whl (287 kB)
Collecting transformers
  Using cached transformers-4.28.1-py3-none-any.whl (7.0 MB)
Collecting diffusers
  Using cached diffusers-0.15.1-py3-none-any.whl (851 kB)
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 3.10.0.0 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5; 3.7.4.2 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5
ERROR: Could not find a version that satisfies the requirement openvino==2022.3.0 (from gimpopenvino) (from versions: none)     
ERROR: No matching distribution found for openvino==2022.3.0

[notice] A new release of pip is available: 23.0.1 -> 23.1                                                                      
[notice] To update, run: D:\project\gimpenv3\Scripts\python.exe -m pip install --upgrade pip                                    
*** openvino-ai-plugins-gimp Installed ***
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'gimpopenvino'
**** openvino-ai-plugins-gimp Setup Ended ****
RyanMetcalfeInt8 commented 1 year ago

Hi @Be27f , looks like you are using python 3.11. I don't think there is (yet) an openvino pip distribution for that version yet. Can you try with python 3.10?

Be27f commented 1 year ago

Hi @Be27f , looks like you are using python 3.11. I don't think there is (yet) an openvino pip distribution for that version yet. Can you try with python 3.10?

@RyanMetcalfeInt8 yes , you are right. The issue disappear after downgrade to 3.10. Thank you so much for your help. BR.