gopro-py-api icon indicating copy to clipboard operation
gopro-py-api copied to clipboard

Install issues

Open dcurzon1973 opened this issue 7 years ago • 5 comments

I can connect my rPi to the GoPro wifi, and send commands via curl http://10.5.5.9/..... but, the wifi times out on the gopro after about 5 minutes. So i thought that the gopro-py-api might be the way to go.

cloned it to the Pi, but fails on running setup.py on line 1. Something about setuptools. So i installed setuptools, but still errors. The Pi has Raspbian Stretch Lite installed and Python3. I'm pretty certain that it will be something that i'm doing wrong.

My goal is simply to be able to send a shutter activation command to the gopro in burst mode 10 frames/3 seconds). Where am i going wrong?

Many thanks

dcurzon1973 avatar Jul 24 '18 08:07 dcurzon1973

I need the logs from the installation. Try installing using pip

KonradIT avatar Jul 24 '18 09:07 KonradIT

Hi KonradIT I've made some progress! I had to install pip3 and then install. Python is a bit of a learning curve... so I was going to run the Motion app with a pi-camera, and on movement detect, send a shutter command. Progress so far... connect to GoPro wifi, run the keepalive.py (didn't install ffmpeg but its only need to run in the background to keep the wifi on and it seems to do that) and then, can open another terminal and either python in and send commands... running an active session and commands are quick, but calling a script seems to take about 7 seconds? alternatively, keep alive in the background and then curl http commands. thanks

dcurzon1973 avatar Jul 25 '18 22:07 dcurzon1973

Hi, im trying to install goprocam but i get this error:

ERROR: Command errored out with exit status 1: command: 'c:\users\eduardo\appdata\local\programs\python\python37-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam
Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py", line 5, in with open("version.json", "r") as ver: FileNotFoundError: [Errno 2] No such file or directory: 'version.json' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

What can i do? thanks

Lalorrs avatar Aug 08 '19 21:08 Lalorrs

Seconded on above error, will try from git

Timvrakas avatar Aug 20 '19 02:08 Timvrakas

Fixed in 3.0.9

KonradIT avatar Aug 20 '19 09:08 KonradIT