安装requirement.txt时出现问题:- Saleor

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

我从 GitHub 克隆了 Saleor (https://github.com/saleor/saleor) 并启用了虚拟环境。当我尝试安装requirements.txt文件时,我收到如下错误:

Collecting suds-jurko>=0.6
  Using cached suds-jurko-0.6.zip (255 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
 
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in suds-jurko setup command: use_2to3 is invalid.
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
saleor
1个回答
0
投票

正如评论中已经说过的,Saleor 中没有

requirements.txt
文件。

您需要使用

poetry
来安装依赖项: https://docs.saleor.io/docs/3.x/developer/community/contributing#managing-dependency

或按照指南操作: https://docs.saleor.io/docs/3.x/setup/docker-compose

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