@@ -26,6 +26,15 @@ If this fails it is most likely because none of the available wheels is compatib
2626In this case you *must * install the dependencies listed below before installing python-gphoto2.
2727The installation process compiles and links the bindings with the libgphoto2 _ installed on your computer.
2828
29+ Raspberry Pi
30+ ^^^^^^^^^^^^
31+
32+ Binary wheels for the Raspberry Pi are available from piwheels _.
33+ You still need to install some system packages to use these::
34+
35+ sudo apt install libexif12 libgphoto2-6 libgphoto2-port12 libltdl7
36+ sudo pip3 install gphoto2
37+
2938Dependencies
3039------------
3140
@@ -52,11 +61,12 @@ Make sure that you install the dependencies_ first.
5261Install with pip _
5362^^^^^^^^^^^^^^^^^
5463
55- The easiest installation method is to use the pip _ command::
64+ The easiest installation method is to use the pip _ command.
65+ Note the use of ``--no-binary `` to prevent installation from a binary wheel::
5666
57- sudo pip3 install -v gphoto2
67+ sudo pip3 install -v gphoto2 --no-binary :all:
5868
59- Note that this may take longer than you expect as the package's modules are compiled during installation.
69+ This installation may take longer than you expect as the package's modules are compiled during installation.
6070The ``-v `` option increases pip _'s verbosity so you can see that it's doing something.
6171
6272Install a downloaded archive
@@ -492,6 +502,7 @@ along with this program. If not, see http://www.gnu.org/licenses/.
492502 http://sourceforge.net/p/gphoto/code/HEAD/tree/trunk/bindings/libgphoto2-python/
493503.. _piggyphoto : https://github.com/alexdu/piggyphoto
494504.. _pip : https://pip.pypa.io/
505+ .. _piwheels : https://www.piwheels.org/project/gphoto2/
495506.. _PyPI : https://pypi.python.org/pypi/gphoto2/
496507.. _setuptools : https://pypi.org/project/setuptools/
497508.. _SWIG : http://swig.org/
0 commit comments