Closed JoeWise closed 3 years ago
The python-gphoto2 version is available as the constant gp.__version__
. The libgphoto2 version is available with the function gp.gp_library_version(verbose)
. verbose
should be 0
or 1
. The libgphoto2_port version is available with the function gp.gp_port_library_version(verbose)
.
See also the gphoto2_version.py
example program.
Awesome, that is exactly what I was looking for. Thank you!
Hello,
As a sanity check, I'd like to confirm which version of python-gphoto2 is installed along with which version of libgphoto2 is being utilized by python-gphoto2. Is this possible currently?
For comparison, using gphoto2 I can call
gphoto2 -v
on the command line to get something to similar to