You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2023. It is now read-only.
I'm assuming that some folks are coming to this package from Adafruit's pi-thermal-printer documentation.
This package has been updated to use python3
This means that the command to run the test should be python3 printertest.py as written in the Readme here.
But this also means that the package to be installed should be changed to python3-serial meaning that you need to run apt-get install python3-serial to install that package.
The text was updated successfully, but these errors were encountered:
Thanks so much! I kept on getting the error below and installing the python3-serial package fixed the issue 🙇
Traceback (most recent call last):
File "printertest.py", line 3, in <module>
from Adafruit_Thermal import *
File "/home/pi/Python-Thermal-Printer_orig/Adafruit_Thermal.py", line 35, in <module>
from serial import Serial
ModuleNotFoundError: No module named 'serial'
gregorspamsa
added a commit
to gregorspamsa/Python-Thermal-Printer
that referenced
this issue
Apr 1, 2021
I'm assuming that some folks are coming to this package from Adafruit's pi-thermal-printer documentation.
This package has been updated to use python3
This means that the command to run the test should be
python3 printertest.py
as written in the Readme here.But this also means that the package to be installed should be changed to
python3-serial
meaning that you need to runapt-get install python3-serial
to install that package.The text was updated successfully, but these errors were encountered: