Legacy install failure-Error while installing greenlet package

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

我正在尝试安装 sqlalchemy 以使用 python 和 flask 为网站存储数据,但是当我尝试安装它时,我总是遇到同样的错误。

有谁知道是什么阻止了我的电脑下载 greenlet,所以我可以下载 sqlalchemy?

这是我尝试安装 sqlalchemy 时的错误:

(base) MacBook-Air-3:Portfolio_Website michaelokoro$ pip3 install sqlalchemy
     
      1 warning and 6 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> greenlet

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

试过单独安装greenlet包,安装的时候把pip改成pip3,换了环境还是一样的错误

python html flask sqlalchemy flask-sqlalchemy
© www.soinside.com 2019 - 2024. All rights reserved.