【发布时间】:2022-08-20 02:21:12
【问题描述】:
我只是尝试在 pypy (version 3.8) 下安装包 quickfix (1.15.1) 。
pip install quickfix
quickfix 安装过程失败,出现以下警告和错误:
Building wheel for quickfix (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [66 lines of output]
,
# include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command \'gcc\' failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
我也试过:
升级点 一些其他版本的 quickfix(1.14.1、1.14.2)。
我想知道这个问题是否有解决方案,以及 quickfix 是否与 pypy 兼容。
-
您需要安装 Python 的开发库。
-
更具体地说,您需要安装特定于 pypy 的开发库,最有可能命名为
pypy-dev或pypy3-dev,具体取决于发行版。