Clone the repository from
> cd ~/github > git clone https://github.com/jbaiter/gphoto2-cffi
I had to specify where to find the include files.
> env C_INCLUDE_PATH=/usr/local/include python3 setup.py build
Install and clean-up
# python3 setup.py install # python3 setup.py clean # rm -rf dist > rm -rf gphoto2_cffi.egg-info
The package is installed in