ERROR: No matching distribution found for inference
Search before asking
- [X] I have searched the Inference issues and found no similar bug report.
Bug
I'm trying to do pip install inference on my cmd but I get the following errors:
ERROR: Ignored the following yanked versions: 0.7.2, 0.7.6, 0.8.0, 0.8.1, 0.8.2, 0.8.4, 0.8.5, 0.8.8, 0.8.9, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7rc2, 0.9.7, 0.9.8, 0.9.9rc23, 0.9.9, 0.9.10rc3, 0.9.10, 0.9.11rc1, 0.9.11rc2, 0.9.11, 0.9.12rc1, 0.9.12rc3, 0.9.12, 0.9.13, 0.9.14, 0.9.15rc1, 0.9.15, 0.9.16, 0.9.17
ERROR: Ignored the following versions that require a different python version: 0.10.0 Requires-Python <3.12,>=3.8; 0.11.0 Requires-Python <3.12,>=3.8; 0.11.1 Requires-Python <3.12,>=3.8; 0.11.2 Requires-Python <3.12,>=3.8; 0.12.0 Requires-Python <3.12,>=3.8; 0.12.1 Requires-Python <3.12,>=3.8; 0.13.0 Requires-Python <3.12,>=3.8; 0.14.0 Requires-Python <3.12,>=3.8; 0.14.1 Requires-Python <3.12,>=3.8; 0.15.0 Requires-Python <3.12,>=3.8; 0.15.1 Requires-Python <3.12,>=3.8; 0.15.2 Requires-Python <3.12,>=3.8; 0.16.0 Requires-Python <3.12,>=3.8; 0.16.2 Requires-Python <3.12,>=3.8; 0.16.3 Requires-Python <3.12,>=3.8; 0.17.0 Requires-Python <3.12,>=3.8; 0.17.1 Requires-Python <3.12,>=3.8; 0.18.0 Requires-Python <3.12,>=3.8; 0.18.1 Requires-Python <3.12,>=3.8; 0.19.0 Requires-Python <3.12,>=3.8; 0.20.0 Requires-Python <3.12,>=3.8; 0.20.1 Requires-Python <3.12,>=3.8; 0.21.0 Requires-Python <3.12,>=3.8; 0.21.1 Requires-Python <3.12,>=3.8; 0.22.0 Requires-Python <3.12,>=3.8; 0.22.1 Requires-Python <3.12,>=3.8; 0.22.2 Requires-Python <3.12,>=3.8; 0.23.0 Requires-Python <3.12,>=3.8; 0.24.0 Requires-Python <3.12,>=3.8; 0.25.0 Requires-Python <3.12,>=3.8; 0.26.0 Requires-Python <3.12,>=3.8; 0.26.1 Requires-Python <3.12,>=3.8; 0.27.0 Requires-Python <3.12,>=3.8; 0.28.0 Requires-Python <3.12,>=3.8; 0.28.1 Requires-Python <3.12,>=3.8; 0.28.2 Requires-Python <3.12,>=3.8; 0.29.0 Requires-Python <3.12,>=3.8; 0.9.18 Requires-Python <=3.11,>=3.8; 0.9.20 Requires-Python <=3.11,>=3.8; 0.9.22 Requires-Python <3.12,>=3.8; 0.9.23 Requires-Python <3.12,>=3.8
ERROR: Could not find a version that satisfies the requirement inference (from versions: none)
ERROR: No matching distribution found for inference
Environment
Python
Minimal Reproducible Example
!pip install -q inference supervision
Additional
No
Are you willing to submit a PR?
- [ ] Yes I'd like to help by submitting a PR!
Nevermind, this package hasn't updated to the newest version of python
hi there - I marked the older versions as yanked, as we had bug in package metadata - and that was causing issues with Python 3.12 and 3.13, which we are just onboarding: https://github.com/roboflow/inference/pull/841
I believe we are closer to py3.12 than 3.13, but we'll see how the porting goes
Good news, thanks to @grzegorz-roboflow, https://github.com/roboflow/inference/pull/841 got pushed into 0.29.2 release
you can give it a try using py312
Okay so when I use py3.12 I get this error:
UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'
UserWarning: Specified provider 'OpenVINOExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'
UserWarning: Specified provider 'CoreMLExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
But when I keep 3.11 it still works, now it just tells me to upgrade to 0.29.2
could you tell a little bit more about your machine setup?
@grzegorz-roboflow ^ fyi
I have a Windows 10 my pip version is pip 24.2 from C:\Users\User\.conda\envs\python311\lib\site-packages\pip (python 3.10). I have 4 different versions of Python Installed.
Python 3.11.10 ('.conda') is instlaled in .\conda\python.exe Python 3.12.7 ('base') is in D:\anaconda3\python.exe (I installed it in an external hard drive to save space on my C:\ drive) Python 3.10.15 ('python311') on ~\conda\envs\python311\python.exe (I had to install this to run roboflow to prevent getting the libiomp5md.dll error on my Python 3.12.7 Python 3.8.8 ('Orange') in ~\AppData\Local\Programs\Orange\python.exe (this one I barely use now, I think its for the Orange app that I used to use for data analysis)
I'm working with VSCode right now which is within my anaconda.
The current project I am working on is under my C: drive but most of my packages I keep it under D:\
Taken a look and error suggests that this is some system lib issue - maybe that would help: https://community.anaconda.cloud/t/omp-error-15-initializing-libiomp5md-dll-but-found-libiomp5-already-initialized/48993/9
I had the same issue in mac, I figured it was due to python 3.13, I downgrade to 3.12, and it worked fine for me. And looking at your issue date, I guess it wasn't working with 3.12, but it should work now, I believe.