Bug #102305 can not open MySQLWorkbench

Submitted: 20 Jan 2021 3:27 Modified: 20 Jan 2021 7:15
Reporter: linan Ren Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:MySQL Workbench CE (GPL) 8.0.23 CE build OS:MacOS (10.15.7 )
Assigned to: CPU Architecture:x86 (Intel Core i7)
Tags: mac, python, workbench

[20 Jan 2021 3:27] linan Ren
Description:
can't open MySQLWorkbench after upgraded using ‘brew upgrade’

python version: 3.9.1

shell:
/Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench --verbose
sout:
Fatal Python error: initfsencoding: unable to load the file system codec, sys.path = ['/Applications/MySQLWorkbench.app/Contents/Resources/libraries', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload']
ModuleNotFoundError: No module named 'encodings'

Current thread 0x000000011068edc0 (most recent call first):
[1]    15737 abort      /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench --verbose

How to repeat:
reopen MySQLWorkbench.app or run /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench --verbose

Suggested fix:
python path wrong
[20 Jan 2021 7:15] MySQL Verification Team
Thank you for the bug report. Duplicate of https://bugs.mysql.com/bug.php?id=102284.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.