PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
345 stars 88 forks source link

Sorry: TabError: inconsistent use of tabs and spaces in indentation (textpos.py, line 20) #196

Closed eat-sleep-code closed 3 years ago

eat-sleep-code commented 5 years ago

I attempted to execute curl -sSL https://pisupp.ly/papiruscode | sudo bash and chose the Python 2 and Python 3 option.

I noted the following error being thrown:

Sorry: TabError: inconsistent use of tabs and spaces in indentation (textpos.py, line 20)

tvoverbeek commented 5 years ago

@eat-sleep-code The indentation mix of spaces and tabs in textpos.py was fixed in github on October 7, 2017. See commit https://github.com/PiSupply/PaPiRus/commit/36a711c752b372c70e8783767dd88db374f1e617 So I do not understand how you get this error now. Previous install still hanging around, so pip3 did not install the current version?

eat-sleep-code commented 5 years ago

Hmm, I reinstalled using the script, maybe I will try to manually do it.

eat-sleep-code commented 3 years ago

This is how to resolve: