error using python periphery library

  • pico users do not have sufficient permissions to export GPIO pins. Using sudo python3 gpio. py
    企业微信截图_20250110193519.png
    If the root user does not have the periphery module, the solution is to install it globally. sudo apt update,sudo apt install python3-periphery
  • Hi, I have the same problem with a Pico Mini B. How can I install the libraries?
    Thanks for your help.
  • Hello,the Ubuntu system on the Pico Mini B also installs the periphery library by running

    Code: Select all

    sudo apt install python3-periphery
    
  • Thanks for your answer.
    I tried that, but here is what I got:
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package python3-periphery
    Edit: I found the explanation in this video
    https://www.youtube.com/watch?v=2EgyVn7HRHs

    Just download the library for Github, copy it on the Luckfox device, and install it.
    Last edited by Lesept on 2025-02-24 10:51, edited 1 time in total.