-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error during install on Raspberry Pi 3 #2
Comments
Do you have a copy of the generated error message? |
The problem appears to be old code in PyRobots's setup.py, which is trying
to use execfile('...') (from Python2x), so I downloaded the pyrobots source
and changed that one line to exec(open('...').read()), and I'm currently
trying to install pyrobots manually.
I'll let you know if that works, otherwise, I'll send you a copy of the
entire error log.
…On Jan 2, 2018 2:11 PM, "Ilya Sukhanov" ***@***.***> wrote:
Do you have a copy of the generated error message?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB0A7-ACyXgzAuhEMVnUAZsTeM65kJOtks5tGqmogaJpZM4RQSyR>
.
|
Confirmed, I was able to fix this by changing that one line in pyRobots
setup.py. Once that was corrected to python3x syntax, it installed fine.
…On Jan 2, 2018 2:56 PM, "Winn Phillips" ***@***.***> wrote:
The problem appears to be old code in PyRobots's setup.py, which is trying
to use execfile('...') (from Python2x), so I downloaded the pyrobots source
and changed that one line to exec(open('...').read()), and I'm currently
trying to install pyrobots manually.
I'll let you know if that works, otherwise, I'll send you a copy of the
entire error log.
On Jan 2, 2018 2:11 PM, "Ilya Sukhanov" ***@***.***> wrote:
> Do you have a copy of the generated error message?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#2 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AB0A7-ACyXgzAuhEMVnUAZsTeM65kJOtks5tGqmogaJpZM4RQSyR>
> .
>
|
Unfortunately morseapi has not been thoroughly tested with python3. When I last looked at it (>12 months ago) dependency libraries were not available, I think it was primarily pygatt, which has since fixed to work with python3. So its possible it should be possible now with minimal amount of tweaks. |
@winnph, I took the liberty of creating a PR for pyrobots: severin-lemaignan/pyrobots#8 |
I attempted to install on a Raspberry Pi 3 and after typing the "install -e" command, I received a red message that stated "Command python setup.py egg_info failed with error code 1 in /home/pi/morseapi" and a lengthy error log was generated.
The text was updated successfully, but these errors were encountered: