stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte

Open ffdown opened this issue 2 years ago • 2 comments

update git 16.10.2022

Installing requirements for Web UI Launching Web UI with arguments: --xformers Error loading script: potrace.exe Traceback (most recent call last): File "E:\AI\SD\A1\modules\scripts.py", line 66, in load_scripts text = file.read() File "E:\Anaconda3\Python310\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte

ffdown avatar Oct 16 '22 09:10 ffdown

Check your A1\scripts folder. Is there something that isn't a .py file or a folder? If so, remove it and try again.

horribleCodes avatar Oct 16 '22 14:10 horribleCodes

I had a similar problem like this but mine ended up like this. what should i do

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9c in position 2: invalid start byte in METADATA file at path: g:\cd\stable-diffusion-webui\venv\lib\site-packages\MarkupSafe-2.1 .1.dist-info\METADATA"

Edwardwander avatar Nov 01 '22 14:11 Edwardwander