Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot, python{,3}, and pip
@ 2018-08-10 17:11 Patrick Doyle
  2018-08-10 17:18 ` Matthew Weber
  2018-08-10 19:53 ` Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Doyle @ 2018-08-10 17:11 UTC (permalink / raw)
  To: buildroot

Does anybody have experience using pip on a buildroot generated system?

Poking around, I have found patches to add a python-pip module, (for
example http://lists.busybox.net/pipermail/buildroot/2013-July/075194.html)
but I don't see that in my 2018.02 release.

I have a severely memory constrained system and have already found that

# python3 -mensure-pip

...will add a "pip" command to my rootfs once I have booted up... but
sometimes that command fails (apparently depending on the amount of
free RAM I have, as a first pass diagnosis) and "pip install
<some_package>" works sometimes, and fails other times, again
apparently package size/free RAM relatedly.

So, I might have other system issues to deal with, but in the mean
time, I thought I would ask why pip isn't available as an option to
begin with.

Yes... I get the whole philosophy of "buildroot doesn't support
package managers".  Is that the primary reason it isn't supported?  Or
am I setting myself up for failure should I go down the rathole of
adding support myself?

--wpd

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-10 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-10 17:11 [Buildroot] buildroot, python{,3}, and pip Patrick Doyle
2018-08-10 17:18 ` Matthew Weber
2018-08-10 19:11   ` Patrick Doyle
2018-08-10 19:53 ` Thomas Petazzoni
2018-08-10 20:56   ` Patrick Doyle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox