[Bug]: onnxruntime==1.18.1 Installation Issue on Python 3.10.14 - No Matching Distribution Found
Checklist
- The issue has not been resolved by following the troubleshooting guide
- The issue exists on a clean installation of Fooocus
- The issue exists in the current version of Fooocus
- The issue has not been reported before recently
- The issue has been reported before but has not been fixed yet
What happened?
I am experiencing an issue while trying to install onnxruntime==1.18.1 on a Python 3.10.14 environment. The installation process fails with the following errors:
ERROR: Could not find a version that satisfies the requirement onnxruntime==1.18.1 (from versions: 1.12.0, 1.12.1, 1.13.1, 1.14.0, 1.14.1, 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3)
ERROR: No matching distribution found for onnxruntime==1.18.1Expected Behavior: onnxruntime==1.18.1 should install successfully on Python 3.10.14.
Actual Behavior: The installation fails with the error indicating no matching distribution found for onnxruntime==1.18.1, despite the Python version being 3.10.14, which should be supported according to the release notes.
Additional Context: I noticed that the available versions of onnxruntime are compatible with earlier Python versions (e.g., Python 3.7-3.9), but there is no available distribution for Python 3.10.14, which leads to this issue.
Please advise on how to resolve this or if a compatible version for Python 3.10.14 will be released.
Steps to reproduce the problem
Set up a Python 3.10.14 environment.
Attempt to install onnxruntime==1.18.1 using pip:
pip install onnxruntime==1.18.1
Please advise on how to resolve this or if a compatible version for Python 3.10.14 will be released.
What should have happened?
Expected Behavior: onnxruntime==1.18.1 should install successfully on Python 3.10.14.
Actual Behavior: The installation fails with the error indicating no matching distribution found for onnxruntime==1.18.1, despite the Python version being 3.10.14, which should be supported according to the release notes.
Additional Context: I noticed that the available versions of onnxruntime are compatible with earlier Python versions (e.g., Python 3.7-3.9), but there is no available distribution for Python 3.10.14, which leads to this issue.
What browsers do you use to access Fooocus?
Google Chrome
Where are you running Fooocus?
Cloud (other)
What operating system are you using?
AWS EC2 (Ubuntu/Linux/UNIX)
Console logs
ERROR: Ignored the following versions that require a different python version: 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.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement onnxruntime==1.18.1 (from versions: 1.12.0, 1.12.1, 1.13.1, 1.14.0, 1.14.1, 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3)
ERROR: No matching distribution found for onnxruntime==1.18.1Additional information
No response
Source: lllyasviel/Fooocus