How to install additional Python dependencies on the DK2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-06 2:18 AM
Hello, I'd like to install Python dependencies to run a RTL-SDR python program on the discovery kit and I failed to execute the following command line below :
apt-get install python-numpy (or python3-numpy).
Do you know how to install numpy on the DK2 ?
BR
- Labels:
-
ST-Boards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-06 5:35 AM
Hi @JDUMA
apt-get service is not yet available for OpenSTLinux, it will come with next V1.2.0 release in February this year.
In the meantime, actually python3-numpy is already part of the Distribution package but not compiled and installed by default.
2 ways to install it on target, the complete/proper one :
Adding it to RDEPENDS_packagegroup-framework-tools-python3 variable in layers/meta-st/meta-st-openstlinux/recipes-st/packagegroups/packagegroup-framework-tools.bb and rebuild the full image and reflash it on the DK2.
one shortcut for a try :
do "bitbake python3-numpy"
The generated debian package will be available in : tmp-glibc/deploy/deb/cortexa7t2hf-neon-vfpv4/
Copy it on target and install it with dpkg -i python3-numpy*.deb
Hope it help
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
