• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error when using GPIO from Python
#2
This is very easy to explain: netPI has a special Docker daemon software that does not map all "/dev/" devices automatically into a container even if you configured it to "--privileged" mode. This is because of security reasons. You have to add all devices manually in any case.

With netPI you have to map the device /dev/mem into the container when you start it. That's all.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
error when using GPIO from Python - by dcatteeu - September-9th-2019, 12:24 PM
RE: error when using GPIO from Python - by Armin@netPI - September-9th-2019, 12:31 PM
RE: error when using GPIO from Python - by dcatteeu - September-9th-2019, 04:18 PM
RE: error when using GPIO from Python - by Armin@netPI - September-9th-2019, 07:05 PM
RE: error when using GPIO from Python - by dcatteeu - September-10th-2019, 02:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Initial Setup of Control Panel with admin + admin thorws error Michi 4 2,716 January-28th-2022, 09:28 AM
Last Post: Michi
  cannot execute file: Exec format error - NETPI tuliosouza 1 1,743 January-13th-2022, 01:17 PM
Last Post: Armin@netPI
  netPI opc ua server pull image error wswitula 3 3,114 August-27th-2021, 10:47 AM
Last Post: wswitula
  HilscherAutomation / netPI-bluetooth entrypoint.sh error bbaskii 6 4,183 September-14th-2020, 04:42 PM
Last Post: bbaskii
  Error when using a node 'OpcUaServer' tad 6 5,060 May-12th-2020, 08:35 AM
Last Post: tad
  netPI Node-Red fieldbus node Error PersEE 5 5,098 October-8th-2019, 03:55 PM
Last Post: Armin@netPI
  "node-red with NIOT-E-NPIX-EVA GPIO module" Docker image Eyad.Almolki 1 2,204 July-30th-2018, 06:22 PM
Last Post: Armin@netPI
  Python SteveO 2 2,627 April-11th-2018, 06:46 AM
Last Post: Armin@netPI
  fieldbus in error Schranz 7 4,616 March-13th-2018, 07:28 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)