无法安装Python模块“arcgis”

问题描述 投票:0回答:1

我尝试从奶酪店安装模块 arcgis 但失败了。这里是cli...

(base) PS C:\Python311\Scripts> .\pip3.11.exe install arcgis
Could not find platform independent libraries <prefix>
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = 'C:\Python311\python.exe'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = 'C:\Python311\Scripts\Lib'
  sys._base_executable = 'C:\\Python311\\python.exe'
  sys.base_prefix = 'C:\\Python311\\Scripts'
  sys.base_exec_prefix = 'C:\\Python311'
  sys.platlibdir = 'DLLs'
  sys.executable = 'C:\\Python311\\python.exe'
  sys.prefix = 'C:\\Python311\\Scripts'
  sys.exec_prefix = 'C:\\Python311'
  sys.path = [
    'C:\\Python311\\python311.zip',
    'C:\\Python311\\Scripts\\Lib',
    'C:\\Python311\\DLLs',
  ]
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'

寻找解决方案的人要么指向 PYTHONHOME 要么指向 PYTHONPATH,它们都没有设置,这也不是虚拟环境。我使用的Python版本是3.11,模块描述指向Python >=3.9,<3.12.

有什么建议真正的问题是什么以及如何解决它吗?

python pip arcgis
1个回答
0
投票

只需从 conda 命令提示符处输入:pip3 install arcgis

输出: 收集arcgis 下载 arcgis-2.2.0.2.tar.gz (48.0 MB) ---------------------------------------------------- 48.0/48.0 MB 1.5 MB/秒 eta 0 :00:00 准备元数据 (setup.py) ... -

© www.soinside.com 2019 - 2024. All rights reserved.