Packing conda environments for the Raspberry Pi #434
stephane-caron
started this conversation in
Tips and tricks
Replies: 1 comment 1 reply
-
I just found this discussion on Google researching similar topics, in case someone is familiar/used to pixi, a possible alternative for conda-pack is pixi-pack that instead explicitly supports, cross-platform packs see https://github.com/Quantco/pixi-pack/blob/v0.2.2/README.md#cross-platform-packs . |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you have configured your Upkie as a Wi-Fi access point, chances are, you have already faced the issue of installing conda packages without an Internet connection. One solution is to connect to the Internet via a separate Wi-Fi dongle, but it will become tedious if the need arises too often. In what follows, we propose a way to use the Internet connection of your host computer instead.
With a Makefile
Here is a set of Makefile rules that:
Assumptions
PROJECT_NAME
is set (as in the mainupkie
Makefile)Host-side rules
Upkie-side rule
See also
This simple method is not as general as
conda-pack
, butconda-pack
has the following caveat as of writing this post:Unpacking an environment allows it to run on the robot, but we are only creating a virtual environment there, which does not qualify as unleashing the full power of conda 😉 (for instance we don't sync packages).
Beta Was this translation helpful? Give feedback.
All reactions