微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

为 Python 安装软件包的问题

如何解决为 Python 安装软件包的问题

我在安装 Python 包时遇到问题,我以前从未遇到过这个问题: 错误代码

C:\Users\joe_h\.conda>pip install pandas-datareader
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = 'c:\users\joe_h\anaconda3\anaconda3\python.exe'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = 'c:\\users\\joe_h\\anaconda3\\anaconda3\\python.exe'
  sys.base_prefix = ''
  sys.base_exec_prefix = ''
  sys.executable = 'c:\\users\\joe_h\\anaconda3\\anaconda3\\python.exe'
  sys.prefix = ''
  sys.exec_prefix = ''
  sys.path = [
    'c:\\users\\joe_h\\anaconda3\\anaconda3\\python38.zip','.\\DLLs','.\\lib','c:\\users\\joe_h\\anaconda3\\anaconda3',]
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 0x000028f4 (most recent call first):
<no Python frame>

有人知道我需要做什么才能再次开始安装软件包吗?提前致谢

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。