I pip installed the package and confirmed that I have version 2.2.1. However some of the examples do not work.
For example,
$ python3 choose-camera.py
Traceback (most recent call last):
File "choose-camera.py", line 79, in <module>
sys.exit(main())
File "choose-camera.py", line 35, in main
camera_list = list(gp.Camera.autodetect())
AttributeError: type object 'gphoto2.camera.Camera' has no attribute 'autodetect'
I pip installed the package and confirmed that I have version 2.2.1. However some of the examples do not work.
For example,