PiPyADC icon indicating copy to clipboard operation
PiPyADC copied to clipboard

not running in docker

Open badsmoke opened this issue 4 years ago • 1 comments

hello everyone,

I would like to use this library in a docker container. spi works, you can access it in the container, the "example.py" starts without problems and also delivers values...but unfortunately only 0.0.

So I have no clue what the problem could be.

In the internet is often described a problem with wiringpi, that wiriginpi is deprecated anyway. Would it make sense to build the library on another standard, is there already a solution?

badsmoke avatar Jun 07 '21 11:06 badsmoke

please have a look at the new version 2.0.1 if this is still relevant for you.

The new version uses pgpio instead of wiringpi, please look at the - updated - install instructions.

pigpio should be more compatible with Docker, as the Python implementation does not require root access any more.

Please write if this works for you.

ul-gh avatar Jul 01 '22 13:07 ul-gh