2024-02-08 02:24 AM - edited 2024-02-08 02:31 AM
Hello,
I want to control STM32mp157d-dk1 GPIO from python i tried to use libgpiod but apt-get install python3-pip not work for me
Solved! Go to Solution.
2024-02-13 06:15 AM - edited 2024-02-13 06:16 AM
Hi @Softcity
please try
apt-get install python3-gpiod
as a general rule, to know if a package is available with apt-get, you could use
apt-get update
apt-cache search xxxx
Regards.
2024-02-08 03:42 AM
2024-02-08 04:44 AM
Hi @Softcity
python3-pip is a package provided by our ecosystem.
Could you refresh the apt database and get the python3-pip status with the following commands
root@stm32mp1:~# apt-get update
root@stm32mp1:~# apt-cache policy python3-pip
and gives me the output please?
Best regards,
--JM
2024-02-08 04:48 AM
Hi @Softcity ,
Ensure you are connected to internet and the date is set to current time.
See also https://community.st.com/t5/stm32-mpus-products/i-cannot-use-the-pip-command-with-the-starter-package-is-it/m-p/202592/highlight/true#M5991
Regards.
2024-02-08 04:55 AM
ensure you are running the latest Starter Package for your board (use the FlashLayout_sdcard_stm32mp157d-dk1-optee.tsv).
Regards.
2024-02-08 05:35 AM
Thank you for your reply, the same error unable to locate package python3-pip
2024-02-08 05:52 AM
Hi,
Sound like your board is not connected to the Internet (RJ45 or WLAN)
2024-02-08 06:03 AM
Hi @PatrickF
I will check that thank you for your reply
2024-02-13 06:05 AM
Hi @PatrickF
apt-get install python3-pip is working now Thank you , but when I try to install libgpiod i got this error .
Any idea ?
2024-02-13 06:15 AM - edited 2024-02-13 06:16 AM
Hi @Softcity
please try
apt-get install python3-gpiod
as a general rule, to know if a package is available with apt-get, you could use
apt-get update
apt-cache search xxxx
Regards.