localstack 0.12.18 安装失败

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

我正在尝试在 Windows 10 Enterprise 机器上安装 localstack

0.12.18

我在跑

Python 3.9.0
pip 23.0.1
.

我已经直接从pypi.org下载了

.tar.gz
文件并通过以下方式安装:

pip install C:\Users\me\Downloads\localstack-0.12.18.tar.gz --trusted-host pypi.org --trusted-host files.pythonhosted.org

这是输出:

pip install C:\Users\me\Downloads\localstack-0.12.18.tar.gz --trusted-host pypi.org --trusted-host files.pythonhosted.org
Processing c:\users\me\downloads\localstack-0.12.18.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      Traceback (most recent call last):
        File "C:\Anaconda\envs\python390\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Anaconda\envs\python390\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "C:\Anaconda\envs\python390\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\me\AppData\Local\Temp\pip-build-env-hvz55xsa\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "C:\Users\me\AppData\Local\Temp\pip-build-env-hvz55xsa\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "C:\Users\me\AppData\Local\Temp\pip-build-env-hvz55xsa\overlay\Lib\site-packages\setuptools\build_meta.py", line 484, in run_setup
          super(_BuildMetaLegacyBackend,
        File "C:\Users\me\AppData\Local\Temp\pip-build-env-hvz55xsa\overlay\Lib\site-packages\setuptools\build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 54, in <module>
        File "C:\Anaconda\envs\python390\lib\encodings\cp1252.py", line 23, in decode
          return codecs.charmap_decode(input,self.errors,decoding_table)[0]
      UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 2184: character maps to <undefined>
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

关于解决方案可能是什么的任何想法?

谢谢

python pip anaconda setuptools localstack
© www.soinside.com 2019 - 2024. All rights reserved.