-
Notifications
You must be signed in to change notification settings - Fork 104
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
TabError: inconsistent use of tabs and spaces in indentation #2
Comments
Thanks, fixed in 502fffd , was due to sloppiness with editing ;) The code is for Python 2 though, but consistency is good. |
500 days until Python 2 end of life... |
Reason for Python 2 is mentioned in |
The PIL library that sudo apt-get install python-imaging is installing has not been update in almost 10 years. http://www.pythonware.com/products/pil/ and Pillow is the Python community's supported replacement. http://pillow.readthedocs.io -- python-imaging should be uninstalled before installing Pillow. You might be able to run on either Python 2 or Python 3 by replacing the line:
Another route would be to replace sudo apt-get install python-imaging python click with:
|
The Waveshare library uses |
I created a new issue (#3) for replacing PIL. |
Python 3 treats TabErrors as syntax errors
flake8 testing of https://github.com/joukos/PaperTTY on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
The text was updated successfully, but these errors were encountered: