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

Could not find a version that satisfies the requirement onnxruntime==1.15.0 (from versions: 1.17.0, 1.17.1, 1.17.3, 1.18.0, 1.18.1) #305

Open
kentskyo opened this issue Jul 17, 2024 · 0 comments

Comments

@kentskyo
Copy link

Installing sd-webui-controlnet requirement: changing opencv-python version from 4.10.0.84 to 4.8.0
*** Error running install.py for extension M:\stable-diffusion-webui\extensions\sd-webui-roop.
*** Command: "M:\ai_env\Scripts\python.exe" "M:\stable-diffusion-webui\extensions\sd-webui-roop\install.py"
*** Error code: 1
*** stdout: Collecting insightface==0.7.3 (from -r M:\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1))
*** Using cached insightface-0.7.3-cp312-cp312-win_amd64.whl
*** Collecting onnx==1.14.0 (from -r M:\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 2))
*** Using cached onnx-1.14.0.tar.gz (11.3 MB)
*** Installing build dependencies: started
*** Installing build dependencies: finished with status 'done'
*** Getting requirements to build wheel: started
*** Getting requirements to build wheel: finished with status 'done'
*** Installing backend dependencies: started
*** Installing backend dependencies: finished with status 'done'
*** Preparing metadata (pyproject.toml): started
*** Preparing metadata (pyproject.toml): finished with status 'done'


*** stderr: ERROR: Could not find a version that satisfies the requirement onnxruntime==1.15.0 (from versions: 1.17.0, 1.17.1, 1.17.3, 1.18.0, 1.18.1)
*** ERROR: No matching distribution found for onnxruntime==1.15.0
*** Traceback (most recent call last):
*** File "M:\stable-diffusion-webui\extensions\sd-webui-roop\install.py", line 27, in
*** subprocess.run(["pip", "install", "-r", req_file], check=True)
*** File "C:\Users\kentc\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
*** raise CalledProcessError(retcode, process.args,
*** subprocess.CalledProcessError: Command '['pip', 'install', '-r', 'M:\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt']' returned non-zero exit status 1.


*** During handling of the above exception, another exception occurred:


*** Traceback (most recent call last):
*** File "M:\stable-diffusion-webui\extensions\sd-webui-roop\install.py", line 29, in
*** print(f"Failed to install requirements: {e.stderr.decode('utf-8')}")
*** AttributeError: 'NoneType' object has no attribute 'decode'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant