You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

CrowPi2启动显示Fatal Python error,该如何修复?

启动CrowPi2笔记本时Python初始化错误问题解决

每次启动CrowPi2笔记本,终端都会输出以下错误信息:

Could not find platform independent libraries <prefix>
    Could not find platform dependent libraries <exec_prefix>
    Python path configuration:
    PYTHONHOME = (not set)
    PYTHONPATH = (not set)
    program name = 'python'
    isolated = 0
    environment = 1
    user site = 1
    safe_path = 0
    import site = 1
    is in build tree = 0
    stdlib dir = '/usr/local/lib/python3.12'
    sys._base_executable =  '/usr/bin/python'
    sys.base_prefix = '/usr/local'
    sys.base_exec_prefix = '/usr/local'
    sys.platlibdir = 'lib'
    sys.executable = '/usr/bin/python'
    sys.prefix = '/usr/local'
    sys.exec_prefix = '/usr/local'
    sys.path = [
    '/usr/local/lib/python312.zip',
    '/usr/local/lib/python3.12',
    '/usr/local/lib/python3.12/lib-dynload',
    ]

Fatal Python error: init_fs_encoding: failed to get the Python codec for the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0xb6faa010 (most recent call first):
<no Python frame>

已尝试以下操作,均未解决问题:

  • 重装Python
  • 配置环境变量

曾考虑通过重装系统解决,起初不确定是否可行,最终重装系统已解决该问题。

内容的提问来源于stack exchange,提问作者Justin Bachmann

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.21 19:08:12