That is happening because gphoto2 only works on Linux, when I try to install it on Windows I also get this error.