由于社区中MYSHELL SHELL版本是2.28,我特意安装了一台ORALCE LINUX 8虚拟机。 cat /etc/redhat-release Red Hat Enterprise Linux release 8.9 (Ootpa) ldd --version ldd (GNU libc) 2.28 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. 在使用社区的MYSQL SHELL时, ./mysqlsh Python path configuration: PYTHONHOME = '/usr/bin/python3' PYTHONPATH = (not set) program name = '/root/greatsql-shell-8.0.32-25-glibc2.28-x86_64/bin/mysqlsh' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/root/greatsql-shell-8.0.32-25-glibc2.28-x86_64/bin/mysqlsh' sys.base_prefix = '/usr/bin/python3' sys.base_exec_prefix = '/usr/bin/python3' sys.executable = '/root/greatsql-shell-8.0.32-25-glibc2.28-x86_64/bin/mysqlsh' sys.prefix = '/usr/bin/python3' sys.exec_prefix = '/usr/bin/python3' sys.path = [ '/usr/bin/python3/lib64/python38.zip', '/usr/bin/python3/lib64/python3.8', '/usr/bin/python3/lib64/python3.8/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x00007f78e3b8ef80 (most recent call first): <no Python frame> 从上面的报错看,是python有问题。我安装的python3 |
yejr
2024-5-27 08:15:18
| ||
reddey
2024-5-27 08:47:06
| ||
一个学艺不精的国产数据库爱好者
|
||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com