CFFI

This page captures steps for installing Python cffi package for Windows on Arm platforms.

Repository: https://foss.heptapod.net/pypy/cffi

Pypi: https://pypi.org/project/cffi/

Prerequisite

Status

  • CFFI v1.14 and above supports Windows on Arm

  • CFFI installation on Python 3.11 has a known issue and requires manual build steps.

Installation

CFFI can be installed with pip command if all prerequisites are installed on your system.

pip install cffi

There is a known issue with Python 3.11, Please see for instructions on installing with Python 3.11

Known Issue

Python 3.11 and CFFI Version 1.15 and below

There is a known issue with cffi (versions 1.15 and below) and Python 3.11.

The fix is already available on main branch but hasn't made its way into any releases yet. Please use the following commands to install until new cffi releases (expected in v1.16).

cffi repository is hosted in Mercurial so you will need to install a Mercurial client.

Once you have the Mercurial client installed and available on your PATH, you can run the following command to install with pip

pip install hg+https://foss.heptapod.net/pypy/cffi