logston / olimex-ekg-emg

A Python package for gathering data from the Olimex EKG/EMG Shield.
Other
17 stars 7 forks source link

Invalid Syntax in gui.py #3

Closed Lashway closed 8 years ago

Lashway commented 8 years ago

System: Ubuntu 14.04, x86_64 Installation: Downloaded direct from git

Issue: gui won't execute -Tried with both Mock Data and leads

Error:

screenshot_oferror

Offending Code:

screenshot_syntaxerror

Lashway commented 8 years ago

Seems like this is actually a problem related to it downloading into the python2.7 directory rather than the python3.4.

May want to include instructions on how to avoid this for future users.

logston commented 8 years ago

Thanks @Lashway for the issue report! This is in fact a Python 2 vs Python 3 compatibility error. However, since I'm trying to push Python 3 (and I don't have time to make this package Python 2 compatible), this issue will not get fixed (at least not by me). I strongly encourage you to create a Python 3 virtual environment and try this code from within that environment. Thanks again for reaching out.

Lashway commented 8 years ago

Thanks for responding @logston . I found a good tutorial on installing a Scientific Python Stack, but it's giving me trouble. How is the software? Working well enough to be worth the slog?

logston commented 8 years ago

It looks like your running on a POSIX-ish system. Can you not create a virtual env and then pip install the core components (specified in the requirements.txt file) into that env? With pip 7.10 or greater, I would suspect that pip would download a wheel and installation would go smoothly.

As for if my software is worth the slog, I'm quite biased but yes.