The program is executed directly from the command line
$ /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
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 0x000000010a883e00 (most recent call first):
Abort trap: 6
After checking that there is no Python 3.7 on the system, the solution is as follows:
# Install python 3.7
$ brew install [email protected]
# Create a soft connection
$ sudo ln -s /usr/local/Cellar/python\@3.7/3.7.10/Frameworks/Python.framework /Library/Frameworks/Python.framework
Run MySQL workbench again successfully.
Read More:
- Homebrew reports an error after upgrading MacOS to Big Sur
- [How to Fix] MySQL Workbench for Mac Flashback
- MacBook M1 Big Sur logging into forticlient SSL VPN
- MySQL Workbench Failed to Connect to MySQL at 127.0.0.1:3306 with user root Bad handshake
- MySQL Workbench: Error Code: 2013. Lost connection to MySQL server during query solution
- How to Solve MacOS ffmpeg killed Error
- Two lines of code to solve your vs flashback problem
- How to solve the problem of “08001” when JDBC connects to MySQL
- C language — to solve the problem of program flashback when programming (in VS)
- Solution to MySQL workbench error 1148 unable to load local data
- To solve the problem of flashback of calling class function of glutsolidcube() in Win32 program
- Solve the problem of visual studio console flashback
- [MySQL] the solution of MySQL workbench “error code: 1175”
- mysql workbench Error Code: 1046. No database selected Select the default DB to be used
- Solve the problem that dbvisualizer cannot connect to mysql8
- Some solutions to the problem of windows flashback after vs running
- How to save big data in Oracle to CLOB
- Solve the problem that node. js USES MySQL to connect econnunion 127.0.0.0.1:3306
- Solution of vs program flashback problem
- PHP big file upload problem (500m or above)