* [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 @ 2020-05-28 20:12 Todd Sampson 2020-05-28 20:45 ` Thomas Petazzoni 0 siblings, 1 reply; 5+ messages in thread From: Todd Sampson @ 2020-05-28 20:12 UTC (permalink / raw) To: buildroot /m9k2/buildroot$ make graph-size You need python-matplotlib to generate the size graph make[1]: *** [Makefile:904: graph-size] Error 1 make: *** [Makefile:84: _all] Error 2 python-matplotlib doesn't seem to be available on Ubuntu 20.04. Maybe it's because 20.04 is trying to pressure everyone to use python 3. Is there a way to get it to work? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200528/1332ce70/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 2020-05-28 20:12 [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 Todd Sampson @ 2020-05-28 20:45 ` Thomas Petazzoni [not found] ` <CADJjDh8P5ACNk4FA6sQAgpovvfp-2suWtXmV_ZLCXVreAC4v0A@mail.gmail.com> 0 siblings, 1 reply; 5+ messages in thread From: Thomas Petazzoni @ 2020-05-28 20:45 UTC (permalink / raw) To: buildroot On Thu, 28 May 2020 16:12:48 -0400 Todd Sampson <sampsonats@gmail.com> wrote: > /m9k2/buildroot$ make graph-size > You need python-matplotlib to generate the size graph > make[1]: *** [Makefile:904: graph-size] Error 1 > make: *** [Makefile:84: _all] Error 2 > > python-matplotlib doesn't seem to be available on Ubuntu 20.04. Maybe it's > because 20.04 is trying to pressure everyone to use python 3. It should work with Python 3, so just install matplotlib for Python 3. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CADJjDh8P5ACNk4FA6sQAgpovvfp-2suWtXmV_ZLCXVreAC4v0A@mail.gmail.com>]
* [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 [not found] ` <CADJjDh8P5ACNk4FA6sQAgpovvfp-2suWtXmV_ZLCXVreAC4v0A@mail.gmail.com> @ 2020-05-28 20:54 ` Thomas Petazzoni 2020-05-28 21:30 ` Todd Sampson 0 siblings, 1 reply; 5+ messages in thread From: Thomas Petazzoni @ 2020-05-28 20:54 UTC (permalink / raw) To: buildroot Hello, Please use Reply-All when replying, to keep the mailing list in Cc, thanks. On Thu, 28 May 2020 16:49:11 -0400 Todd Sampson <sampsonats@gmail.com> wrote: > dfr at cmake:~/m9k2/buildroot$ sudo apt install python3-matplotlib > [sudo] password for dfr: > Reading package lists... Done > Building dependency tree > Reading state information... Done > python3-matplotlib is already the newest version (3.1.2-1ubuntu4). > 0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded. > dfr at cmake:~/m9k2/buildroot$ make graph-size > *You need python-matplotlib to generate the size graph* > make[1]: *** [Makefile:904: graph-size] Error 1 > make: *** [Makefile:84: _all] Error 2 Then this means that your /usr/bin/python is pointing to /usr/bin/python2. The script being "make graph-size", support/scripts/size-stats, simply uses "/usr/bin/env python", which it assumes is your default interpreter, which should have matplotlib installed. Is is the standard Ubuntu 20.04 behavior to have python point to python2, but no longer provide python-matplotlib. This looks odd. Have you changed your /usr/bin/python perhaps ? Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 2020-05-28 20:54 ` Thomas Petazzoni @ 2020-05-28 21:30 ` Todd Sampson 2020-05-29 5:31 ` François Perrad 0 siblings, 1 reply; 5+ messages in thread From: Todd Sampson @ 2020-05-28 21:30 UTC (permalink / raw) To: buildroot dfr at cmake:~/m9k2/buildroot$ ll /usr/bin/python lrwxrwxrwx 1 root root 7 Apr 15 06:45 /usr/bin/python -> python2* I set the link back to python3 and now it works! Thanks!! On Thu, May 28, 2020 at 4:54 PM Thomas Petazzoni < thomas.petazzoni@bootlin.com> wrote: > Hello, > > Please use Reply-All when replying, to keep the mailing list in Cc, > thanks. > > On Thu, 28 May 2020 16:49:11 -0400 > Todd Sampson <sampsonats@gmail.com> wrote: > > > dfr at cmake:~/m9k2/buildroot$ sudo apt install python3-matplotlib > > [sudo] password for dfr: > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > python3-matplotlib is already the newest version (3.1.2-1ubuntu4). > > 0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded. > > dfr at cmake:~/m9k2/buildroot$ make graph-size > > *You need python-matplotlib to generate the size graph* > > make[1]: *** [Makefile:904: graph-size] Error 1 > > make: *** [Makefile:84: _all] Error 2 > > Then this means that your /usr/bin/python is pointing to > /usr/bin/python2. The script being "make graph-size", > support/scripts/size-stats, simply uses "/usr/bin/env python", which it > assumes is your default interpreter, which should have matplotlib > installed. > > Is is the standard Ubuntu 20.04 behavior to have python point to > python2, but no longer provide python-matplotlib. This looks odd. Have > you changed your /usr/bin/python perhaps ? > > Thomas > -- > Thomas Petazzoni, CTO, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200528/86acb045/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 2020-05-28 21:30 ` Todd Sampson @ 2020-05-29 5:31 ` François Perrad 0 siblings, 0 replies; 5+ messages in thread From: François Perrad @ 2020-05-29 5:31 UTC (permalink / raw) To: buildroot Le jeu. 28 mai 2020 ? 23:31, Todd Sampson <sampsonats@gmail.com> a ?crit : > dfr at cmake:~/m9k2/buildroot$ ll /usr/bin/python > lrwxrwxrwx 1 root root 7 Apr 15 06:45 /usr/bin/python -> python2* > > I set the link back to python3 and now it works! > > On Ubuntu 20.04, the packet `python-is-python3` does this job. Fran?ois > Thanks!! > > On Thu, May 28, 2020 at 4:54 PM Thomas Petazzoni < > thomas.petazzoni at bootlin.com> wrote: > >> Hello, >> >> Please use Reply-All when replying, to keep the mailing list in Cc, >> thanks. >> >> On Thu, 28 May 2020 16:49:11 -0400 >> Todd Sampson <sampsonats@gmail.com> wrote: >> >> > dfr at cmake:~/m9k2/buildroot$ sudo apt install python3-matplotlib >> > [sudo] password for dfr: >> > Reading package lists... Done >> > Building dependency tree >> > Reading state information... Done >> > python3-matplotlib is already the newest version (3.1.2-1ubuntu4). >> > 0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded. >> > dfr at cmake:~/m9k2/buildroot$ make graph-size >> > *You need python-matplotlib to generate the size graph* >> > make[1]: *** [Makefile:904: graph-size] Error 1 >> > make: *** [Makefile:84: _all] Error 2 >> >> Then this means that your /usr/bin/python is pointing to >> /usr/bin/python2. The script being "make graph-size", >> support/scripts/size-stats, simply uses "/usr/bin/env python", which it >> assumes is your default interpreter, which should have matplotlib >> installed. >> >> Is is the standard Ubuntu 20.04 behavior to have python point to >> python2, but no longer provide python-matplotlib. This looks odd. Have >> you changed your /usr/bin/python perhaps ? >> >> Thomas >> -- >> Thomas Petazzoni, CTO, Bootlin >> Embedded Linux and Kernel engineering >> https://bootlin.com >> > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200529/2e9de752/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-29 5:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-05-28 20:12 [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 Todd Sampson 2020-05-28 20:45 ` Thomas Petazzoni [not found] ` <CADJjDh8P5ACNk4FA6sQAgpovvfp-2suWtXmV_ZLCXVreAC4v0A@mail.gmail.com> 2020-05-28 20:54 ` Thomas Petazzoni 2020-05-28 21:30 ` Todd Sampson 2020-05-29 5:31 ` François Perrad
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.