Package libffi was not found in the pkg-config search path REDHAT6.5

前端 未结 6 1024
甜味超标
甜味超标 2020-12-31 09:37

I am trying to run setup.py related to a proprietary software installation and it has dependencies on libffi.

Since its Redhat 6.5 the python version was 2.6 and i i

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 10:17

    I was using python 3.8 and getting the same error while wheel was trying to setup cffi on a conda environment. I tried installing libffi and libffi-dev (and exiting the terminal and reactivating the environment each time was installing something!) but with no luck. I then thought that maybe downgrading python to 3.7 might solve the issue. I did that in my conda environment (just activated the environment and ran conda install python=3.7 and then all of the sudden libffi was found! wheel was able to setup cffi and all were working like a charm!

提交回复
热议问题