Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: No matching distribution found for inference #852

Open
1 of 2 tasks
MartinYTSo opened this issue Dec 3, 2024 · 9 comments
Open
1 of 2 tasks

ERROR: No matching distribution found for inference #852

MartinYTSo opened this issue Dec 3, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@MartinYTSo
Copy link

Search before asking

  • 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!
@MartinYTSo MartinYTSo added the bug Something isn't working label Dec 3, 2024
@MartinYTSo
Copy link
Author

Nevermind, this package hasn't updated to the newest version of python

@PawelPeczek-Roboflow
Copy link
Collaborator

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: #841

@PawelPeczek-Roboflow
Copy link
Collaborator

I believe we are closer to py3.12 than 3.13, but we'll see how the porting goes

@PawelPeczek-Roboflow
Copy link
Collaborator

Good news, thanks to @grzegorz-roboflow, #841 got pushed into 0.29.2 release

@PawelPeczek-Roboflow
Copy link
Collaborator

you can give it a try using py312

@MartinYTSo
Copy link
Author

MartinYTSo commented Dec 6, 2024

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

@PawelPeczek-Roboflow
Copy link
Collaborator

could you tell a little bit more about your machine setup?

@grzegorz-roboflow ^ fyi

@MartinYTSo
Copy link
Author

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:\

@PawelPeczek-Roboflow
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants