Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX6UL-AN-0004: Using Python for Embedded applications

1,528 bytes removed, 11:08, 7 October 2021
DNF
=== DNF ===
In case of some troubles (which can happens using <code>easy_install</code> or <code>pip</code>), other packages can be directly installed using <code>dnf</code> from the already built ''rpm'' packages built with Yocto: For example, for installing ''ujson''' it is possible to use <code>dnf install <rpm-package></code>: <pre class="board-terminal">root@desk-mx6ul-axelulite:~# dnf install python3-ujsonLast metadata expiration check: 1:31:56 ago on Wed Oct 6 08:39:56 2021.Dependencies resolved.================================================================================ Package Arch Version Repository Size================================================================================Installing: python3-ujson cortexa7hf_neon 1.35-r0 cortexa7hf 24 k Transaction Summary================================================================================Install 1 Package Total download size: 24 kInstalled size: 59 kIs this ok [y/N]: yDownloading Packages:python3-ujson-1.35-r0.cortexa7hf_neon.rpm 22 kB/s | 24 kB 00:01--------------------------------------------------------------------------------Total 21 kB/s | 24 kB 00:01Running transaction checkTransaction check succeeded.Running transaction testTransaction test succeeded.Running transaction Preparing : 1/1 Installing : python3-ujson-1.35-r0.cortexa7hf_neon 1/1 Verifying : python3-ujson-1.35-r0.cortexa7hf_neon 1/1 Installed: python3-ujson.cortexa7hf_neon 1.35-r0 Complete!root@desk-mx6ul-axelulite:~#</pre>
== import packages==
8,221
edits