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.
So i got everything set up and even the "printertest.py" works perfectly.
But if i try to run python3 main.py
it fails with the following error message:
Traceback (most recent call last):
File "main.py", line 18, in <module>
import RPi.GPIO as GPIO
ModuleNotFoundError: No module named 'RPi'
or python3 twitter.py
it fails with:
Traceback (most recent call last):
File "twitter.py", line 30, in <module>
import base64, HTMLParser, httplib, json, sys, urllib, zlib
ModuleNotFoundError: No module named 'HTMLParser'
If i try to run it with python main.py
respectively python twitter.py
it fails with:
Traceback (most recent call last):
File "twitter.py", line 32, in <module>
from Adafruit_Thermal import *
File "/home/pi/Python-Thermal-Printer/Adafruit_Thermal.py", line 725
def print (self, *args, **kwargs):
^
I'm not very into python, but I know it has something to do with the different python versions.
I hope somebody can help me here.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So i got everything set up and even the "printertest.py" works perfectly.
But if i try to run
python3 main.py
it fails with the following error message:
or
python3 twitter.py
it fails with:
If i try to run it with
python main.py
respectively
python twitter.py
it fails with:
I'm not very into python, but I know it has something to do with the different python versions.
I hope somebody can help me here.
The text was updated successfully, but these errors were encountered: