Replies: 2 comments 1 reply
-
Not sure if you resolved this or not, but typically this is due to multiple versions being allocated in PATH variables. The machine doesn't know which one to use. How are you running this code? Can you specify the python version when you run the code to see if that resolves the issues? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Reinstall python3.10 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have deleted and started from scratch multiple times, but each time I get the same error when trying to run webui.sh on a m1 macbook air:
Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): File "/opt/homebrew/Cellar/[email protected]/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site.py", line 617, in <module> main() File "/opt/homebrew/Cellar/[email protected]/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site.py", line 600, in main known_paths = venv(known_paths) File "/opt/homebrew/Cellar/[email protected]/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site.py", line 532, in venv addsitepackages(known_paths, [sys.prefix]) File "/opt/homebrew/Cellar/[email protected]/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site.py", line 387, in addsitepackages addsitedir(sitedir, known_paths) File "/opt/homebrew/Cellar/[email protected]/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site.py", line 226, in addsitedir addpackage(sitedir, name, known_paths) File "/opt/homebrew/Cellar/[email protected]/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site.py", line 179, in addpackage for n, line in enumerate(f): File "/opt/homebrew/Cellar/[email protected]/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte
I'm a newbie and have everyting installed through homebrew. Any help would be highly appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions