Я пытаюсь установить cffi на рабочую станцию fedora23, используя pip3. , но m получает следующую ошибку.не может установить cffi на рабочую станцию fedora23
pip3 install cffi
Collecting cffi
Using cached cffi-1.4.2.tar.gz
Complete output from command python setup.py egg_info:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
No working compiler found, or bogus compiler options
passed to the compiler from Python's distutils module.
See the error messages above.
(If they are about -mno-fused-madd and you are on OS/X 10.8,
see http://stackoverflow.com/questions/22313407/ .)
----------------------------------------
Команда "питон setup.py egg_info" потерпела неудачу с кодом ошибки 1 в/TMP/пип-наращиванием yweqr7c9/cffi
Что я должен делать? Thankx заранее.
Это свежая установка. Я еще ничего не установил. – girish946
Перед запуском 'pip' убедитесь, что вы установили' dnf install libffi-devel'. Также вы можете убедиться, что у вас установлен 'gcc'. –
thanx @TomTromey, который работал для меня. – girish946