PIP install unable to find ffi.h even though it recognizes libffi

前端 未结 8 1280
遥遥无期
遥遥无期 2020-12-15 02:37

I have installed libffi on my Linux server as well as correctly set the PKG_CONFIG_PATH environment variable to the correct directory, as pip

8条回答
  •  攒了一身酷
    2020-12-15 03:01

    You need to install the development package for libffi.

    On RPM based systems (Fedora, Redhat, CentOS etc) the package is named libffi-devel.

    Not sure about Debian/Ubuntu systems, I'm sure someone else will pipe up with that.

提交回复
热议问题