Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issues #50

Open
dcurzon1973 opened this issue Jul 24, 2018 · 5 comments
Open

Install issues #50

dcurzon1973 opened this issue Jul 24, 2018 · 5 comments

Comments

@dcurzon1973
Copy link

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

@KonradIT
Copy link
Owner

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

@dcurzon1973
Copy link
Author

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

@Lalorrs
Copy link

Lalorrs commented Aug 8, 2019

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

@Timvrakas
Copy link

Seconded on above error, will try from git

@KonradIT
Copy link
Owner

Fixed in 3.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants