-
Notifications
You must be signed in to change notification settings - Fork 10
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
doesn't work with python 2.7? #32
Comments
ARM CPUs should be fine, but the code requires Python 3.6+. I haven't made any attempt to have backwards compatibility. Python 2.7 will no longer be supported by the Python Software Foundation in 17 months. Have you tried running using the python3 binary? (Just swap in python3 for python in your commands.) Is installing 3.7, or 3.6, an option for you? (It isn't too difficult, but might take half an hour on a Pi if your distribution doesn't have a package for it.) If not, a docker image would work. (Docker is something I've been meaning to add to this library, but haven't done so yet.) Also, it doesn't appear you are using a virtual environment. It's not advisable to install libraries into the system Python, as it can create conflicts with libraries and scripts the system depends on. For example, if this library used the requests library, but required a newer version that had a breaking change it could break your system. |
Release 0.1.4 prevents installation on 2.7. |
Thanks for taking a look. Raspbian jessie doesn't have python3.6, the newest is python3.4. This is a remote embedded application so I won't be upgrading to stretch for a while. |
I think it would be best to install 3.7 from source then. pyenv makes it convenient. I make use of fstrings, which is a 3.6 feature. If those were replaced with the older format methods it would run on 3.5. I don't know if there is anything that wouldn't run on 3.4 other than that. |
installation:
cli:
usage:
Is this an arm issue or a known issue with 2.7?
The text was updated successfully, but these errors were encountered: