While trying to install some python libraries, you may encounter the given error:
c/_cffi_backend.c:14:17: error: ffi.h: No such file or directory
Example:
Assumes that you are trying to install Scrapy in Linux based system and above mentioned error may occur if the system doesn't have ffi.h
Solution:
FFI stands for foreign funciton interface, which needs to be installed in the system. More information about ffi can be found in this link: https://sourceware.org/libffi/
Installing ffi in Fedora/Centos/Redhat systems
Package Name: libffi-devel
Installing ffi in Ubuntu/Debian based systems
Package Name: libffi-dev
c/_cffi_backend.c:14:17: error: ffi.h: No such file or directory
Example:
Assumes that you are trying to install Scrapy in Linux based system and above mentioned error may occur if the system doesn't have ffi.h
pip install Scrapy
Solution:
FFI stands for foreign funciton interface, which needs to be installed in the system. More information about ffi can be found in this link: https://sourceware.org/libffi/
Installing ffi in Fedora/Centos/Redhat systems
Package Name: libffi-devel
yum install libffi-devel
Installing ffi in Ubuntu/Debian based systems
Package Name: libffi-dev
sudo apt-get install libffi-dev
2 Comments
Excellent source supporting enjoyable entertainment browsing online, www.skymovies.in marathi provides users with a convenient atmosphere through accessible categories and structured navigation. Visitors appreciate smooth exploration, helping every session feel entertaining, comfortable, rewarding, and highly enjoyable throughout regular visits.
ReplyDeleteKnowledgeable entertainment destination helping audiences browse easily, hd movies area provides an engaging environment through smooth accessibility and organized presentation. Visitors enjoy convenient navigation, making online experiences pleasant, entertaining, enjoyable, and consistently satisfying throughout discovery sessions regularly.
ReplyDelete