krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

Error during installation: Using Python 3.12.11 environment at: venv

Open WolfgangVorst opened this issue 3 months ago • 2 comments

Hello, I got this error during installation. What should I do?

Image

WolfgangVorst avatar Oct 28 '25 16:10 WolfgangVorst

It looks like the proxy is the issue. Perhaps I didn't update network.py correctly. class RequestManager: def init(self): self._net = QNetworkAccessManager() proxy = QNetworkProxy() proxy.setType(QNetworkProxy.ProxyType.Socks5Proxy) proxy.setHostName( "IP") proxy.setPort(Port) self._net.setProxy(proxy) self._net.finished.connect(self._finished) self._net.sslErrors.connect(self._handle_ssl_errors) self._requests: dict[QNetworkReply, Request] = {} self._upload_future: Future[tuple[int, int]] | None = None self._additional_headers: list[tuple[bytes, bytes]] = []

WolfgangVorst avatar Oct 28 '25 17:10 WolfgangVorst

The Python downloads don't go through QNetworkAccessManager, they use uv

Acly avatar Nov 21 '25 16:11 Acly

Hi everyone! I'm having the same problem again. I had the same issue a month ago. After installing Windows 10 with new drivers, the problem went away. But now reinstalling Windows did not solve the problem.

raise Exception(_("Error during installation") + f": {errlog}") Exception: Error during installation: Using Python 3.12.11 environment at: venv error: Failed to fetch: https://download.pytorch.org/whl/cu128/torchaudio/ Caused by: error decoding response body Caused by: request or response body error Caused by: operation timed out

2025-12-05 10:11:46,892 ERROR Installation failed 2025-12-05 10:11:46,893 INFO Found server installation vincomplete at C:\Users\Bator\AppData\Roaming\krita\ai_diffusion\server

sbatorg1973guro avatar Dec 05 '25 01:12 sbatorg1973guro

When I looked at the website where I was supposed to download it, the file wasn't there. There's no torch-2.8.0+cu128-cp312-cp312-win amd64.whl.

https://download.pytorch.org/whl/cu128/torch/

sbatorg1973guro avatar Dec 05 '25 07:12 sbatorg1973guro