osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImportError: No module named Adafruit_SSD1306


On 04/12/2019 22:33, Wildman wrote:
> On Wed, 04 Dec 2019 20:25:33 +0000, 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 version 2.7.16, if that makes any difference
>> I have the same module as the authors' link goes to :
>>
>> Monochrome 1.3" 128x64 OLED graphic display - STEMMA QT / Qwiic
>>
>> Have I missed something.
> 
> The error indicates that Adafruit_SSD1306 in not installed.
> 
> https://github.com/adafruit/Adafruit_Python_SSD1306
> 

I have the library in the same Downloads folder, but I don't know how to 
actually install it as it doesn't have an .sh file included