Menu

#177 docker support

Done
None
Medium
Defect
2020-07-30
2020-03-23
No

Hi,
I'm running in a python 3 script inside Docker ubuntu image on a Raspberri Pi 4 with ubuntu 18.04 installed, and I get the following error when trying use the library.

>>> from RPi import GPIO
>>> GPIO.setup(12, GPIO.OUT)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Mmap of GPIO registers failed

Discussion

  • Ben Croston

    Ben Croston - 2020-07-30
    • status: New --> Done
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.