Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-07 Thread Peter J. Holzer
On 2019-12-05 19:30:31 +, Rhodri James wrote: > On 05/12/2019 18:49, RobH wrote: > > TabError: inconsistent use of tabs and spaces in indentation > > The problem will be that you have a mix of tabs and spaces in your > indentation. This causes problems because some people don't think that the

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Terry Reedy
On 12/5/2019 3:55 PM, MRAB wrote: Ok thanks for the explanation there, and I have placed the cursor at the beginning of the first indented line. Moving down 1 line at a time , each line is at the same position upto line 157 in the authors code . Then it is closer in to the edge upto line 190, wh

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread MRAB
On 2019-12-05 20:39, Joel Goldstick wrote: On Thu, Dec 5, 2019 at 3:31 PM RobH wrote: On 05/12/2019 19:40, Rhodri James wrote: > On 05/12/2019 19:30, Rhodri James wrote: >> On 05/12/2019 18:49, RobH wrote: >>> Update: >>> I did python3 Internet.py >>> and now only get this error: >>> >>> pi@ra

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Joel Goldstick
On Thu, Dec 5, 2019 at 3:31 PM RobH wrote: > > On 05/12/2019 19:40, Rhodri James wrote: > > On 05/12/2019 19:30, Rhodri James wrote: > >> On 05/12/2019 18:49, RobH wrote: > >>> Update: > >>> I did python3 Internet.py > >>> and now only get this error: > >>> > >>> pi@raspberrypi:~/Downloads $ pytho

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread RobH
On 05/12/2019 19:40, Rhodri James wrote: On 05/12/2019 19:30, Rhodri James wrote: On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py    File "Internet.py", line 24 font = ImageFont.truetype( 'Min

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Rhodri James
On 05/12/2019 19:30, Rhodri James wrote: On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py    File "Internet.py", line 24 font = ImageFont.truetype( 'Minecraftia.ttf', 35)    

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Rhodri James
On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py   File "Internet.py", line 24     font = ImageFont.truetype( 'Minecraftia.ttf', 35)     ^ TabError:

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread MRAB
On 2019-12-05 18:49, RobH wrote: On 05/12/2019 10:07, RobH wrote: On 04/12/2019 23:15, Python wrote: Le 05/12/2019 à 00:06, RobH a écrit : On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvanden

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread RobH
On 05/12/2019 10:07, RobH wrote: On 04/12/2019 23:15, Python wrote: Le 05/12/2019 à 00:06, RobH a écrit : On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 I copied the cod

Re: ImportError: No module named Adafruit_SSD1306

2019-12-05 Thread RobH
On 04/12/2019 23:15, Python wrote: Le 05/12/2019 à 00:06, RobH a écrit : On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 I copied the code to the pi zero Download folder a

Re: ImportError: No module named Adafruit_SSD1306

2019-12-04 Thread Python
Le 05/12/2019 à 00:06, RobH a écrit : On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 I copied the code to the pi zero Download folder and when I run it I get the above err

Re: ImportError: No module named Adafruit_SSD1306

2019-12-04 Thread RobH
On 04/12/2019 22:33, Wildman wrote: On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 I copied the code to the pi zero Download folder and when I run it I get the above error at line 4 Import Adafruit_SSD1306 I

Re: ImportError: No module named Adafruit_SSD1306

2019-12-04 Thread Wildman via Python-list
On Wed, 04 Dec 2019 20:25:33 +, RobH wrote: > I am trying to do this project on a pi zero: > > http://frederickvandenbosch.be/?p=1365 > > I copied the code to the pi zero Download folder and when I run it I get > the above error at line 4 > Import Adafruit_SSD1306 > > I am using python ver

ImportError: No module named Adafruit_SSD1306

2019-12-04 Thread RobH
I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 I copied the code to the pi zero Download folder and when I run it I get the above error at line 4 Import Adafruit_SSD1306 I am using python version 2.7.16, if that makes any difference I have the same module