-
Notifications
You must be signed in to change notification settings - Fork 44
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
can't import micropython-ssd1306 #5
Comments
I can see from the REPL window that you have not micropython configured for a board running micropython? |
I had a similar issue with the same setup. The full error logs are:
The terminal encountered the same error when I tried Attempting to install opencv-python (as a test) worked fine, so it is an issue with the library (and possibly something about Raspberry Pi OS), not just my computer. |
I have found the issue, it's a problem on my and @roblatour 's end. I (and presumably roblatour) attempted to use Thonny's plugin manager to install the library rather than the package library. Both install packages from PyPi, but the package manager works with the packages on the microcontroller while the plugin manager deals with those on the computer. micropython-ssd1306 is for micropython installations so can only be installed on one, which Thonny does through the package manager, not the plugin manager. |
Just to share my solution here. What I did is just created a new py file called "ssd1306.py" on my pico and pasteed the code from this github page. Hope, this will help others |
on a raspberry pi, running Bullseye, running Thonny, Tools, Manage Packages, search for SSD1306, try to install micropython-ssd1306 yields the following error:
ERROR: Could not find a version that satisfies the requirement micropython-ssd1306
ERROR: No matching distribution found for micropython-ssd1306
Process returned with code 1
The text was updated successfully, but these errors were encountered: