rm-hull / OPi.GPIO

RPi.GPIO drop-in replacement library for Orange Pi Zero and other SBCs
https://opi-gpio.readthedocs.io/
MIT License
184 stars 99 forks source link

orangepi4 error ? #55

Closed Shaggy013 closed 3 years ago

Shaggy013 commented 3 years ago
writing byte-compilation script '/var/tmp/portage/dev-python/OPi-GPIO-0.5.0/temp/tmpdqhcd8x1.py'
/usr/bin/python3.8 /var/tmp/portage/dev-python/OPi-GPIO-0.5.0/temp/tmpdqhcd8x1.py
  File "/usr/lib/python3.8/site-packages/orangepi/pi4B.py", line 21
    import orangepi.4
                             ^
SyntaxError: invalid syntax

now i wonder why it faults there ?

rm-hull commented 3 years ago

@drizzle1 can you help? looking at the history, this was added in PR #52

Shaggy013 commented 3 years ago

ow the ^ at the . between orangepi and 4 the other files dont give a warning or 4 is to short or it is not happy about it is a number instead of a name ?

Shaggy013 commented 3 years ago

ah he saw it ;)

solved

rm-hull commented 3 years ago

Fixed in #56