Ensure package manager is up-to-date:
sudo apt upgrade
sudo apt update
Install gphoto2 python library.
sudo apt install python3-pip
sudo apt install libexif12 libgphoto2-6 libgphoto2-port12 libltdl7
sudo pip3 install gphoto2
Configure wireless-access-point. Use the following instructions: here
https://elliotthilaire.net/how-to-connect-your-camera-to-arduino/ https://cdn-learn.adafruit.com/downloads/pdf/setting-up-a-raspberry-pi-as-a-wifi-access-point.pdf