Skip to content

TabError: inconsistent use of tabs and spaces in indentation #1

@smarbos

Description

@smarbos

I run $ python3 image.py
Im using Python 3.5.3 and has the ILI9225 connected to my raspberrypi 3 model B
and I get this error:
Traceback (most recent call last):
File "image.py", line 23, in
import BHack_ILI9225 as TFT
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 634, in _load_backward_compatible
File "/usr/local/lib/python3.5/dist-packages/BHack_ILI9225-1.0.0-py3.5.egg/BHack_ILI9225/init.py", line 21, in
File "", line 969, in _find_and_load
File "", line 954, in _find_and_load_unlocked
File "", line 896, in _find_spec
File "", line 1147, in find_spec
File "", line 1123, in _get_spec
File "", line 1104, in _legacy_get_spec
File "", line 444, in spec_from_loader
File "", line 541, in spec_from_file_location
File "/usr/local/lib/python3.5/dist-packages/BHack_ILI9225-1.0.0-py3.5.egg/BHack_ILI9225/ILI9225.py", line 275
self.command(ILI9225_HORIZONTAL_WINDOW_ADDR1).data(x1);
^
TabError: inconsistent use of tabs and spaces in indentation

Let me know if I can give you any more information to reproduce or debug.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions