cffi安装失败

报错:

Collecting cffi>=1.1
  Downloading https://mirrors.xxx.com/pypi/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz (456 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 kB 2.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: h2!=2.5.0,<3.0,>=2.4 in ./venv/lib/python3.8/site-packages (from hyper-qta->qt4s->-r /Users/xxx/PycharmProjects/yyy/requirements.txt (line 3)) (2.6.2)
Collecting brotlipy<1.0,>=0.7.0
  Using cached https://mirrors.xxx.com/pypi/packages/c0/98/446b36a3517eb1b3c70d7a32b0523b8946a90db71a95be01a05cf6dd9206/brotlipy-0.7.0-cp35-abi3-macosx_10_9_x86_64.whl (390 kB)
Requirement already satisfied: pycparser in ./venv/lib/python3.8/site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko->-r /Users/xxx/PycharmProjects/yyy/requirements.txt (line 11)) (2.21)
Requirement already satisfied: hpack<4,>=2.2 in ./venv/lib/python3.8/site-packages (from h2!=2.5.0,<3.0,>=2.4->hyper-qta->qt4s->-r /Users/xxx/PycharmProjects/yyy/requirements.txt (line 3)) (3.0.0)
Building wheels for collected packages: cffi
  Building wheel for cffi (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.

解决:
https://stackoverflow.com/questions/27740044/pip-cffi-package-installation-failed-on-osx

wecom-temp-5d60eb1dc56f789871aa2e7fda100f37.png

你可能感兴趣的:(cffi安装失败)