From: Baruch Siach via buildroot <buildroot@buildroot.org>
To: Alberto Fahrenkrog <AFahrenkrog@hopperindustrial.com.au>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [Question] - Buildroor 2021.02 - Can't find python-numpy in menuconfig (python 2.7)
Date: Tue, 17 May 2022 06:32:28 +0300 [thread overview]
Message-ID: <87sfp8zut6.fsf@tarshish> (raw)
In-Reply-To: <ME3P282MB134724A4FBF409DD7B541EF4FECE9@ME3P282MB1347.AUSP282.PROD.OUTLOOK.COM>
Hi Alberto,
On Tue, May 17 2022, Alberto Fahrenkrog via buildroot wrote:
> I'm trying to build the numpy package for python2.7. Unfortunately I
> have to use python 2.7 before I'm able to upgrade.
Note that Python 2.7 has been removed from the latest 2022.02 release.
Which version are you using?
> When I search "/" python-numpy in menuconfig, it tells me it's in
> "Target Packages -> Interpreter languages and scripting -> External
> Python Modules". But I can't find it on the list.
There might be an unsatisfied dependency. The search results should show
you the list of BR2_PACKAGE_PYTHON_NUMPY dependencies, and whether they
are enabled. Specifically python-numpy needs glibc or musl C libraries.
In that case you should see this comment in the menu:
*** python-numpy needs glibc or musl ***
Another options is that numphy does not support your target
platform. See the list of platforms under
BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS in
package/python-numpy/Config.in. In that case the menu comment does not
show.
> I tried adding it on my _defconfig as
> BR2_PACKAGE_PYTHON_NUMPY=y
> BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS=y
> But that doesn't make a difference either.
Kconfig removes symbols with unsatisfied dependencies.
> I haven't spotted any typos.
>
> What's the correct way to add numpy to python 2.7? Any help is appreciated.
Hope this helps,
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-05-17 3:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-17 1:11 [Buildroot] [Question] - Buildroor 2021.02 - Can't find python-numpy in menuconfig (python 2.7) Alberto Fahrenkrog via buildroot
2022-05-17 3:32 ` Baruch Siach via buildroot [this message]
2022-05-17 8:37 ` Alberto Fahrenkrog via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfp8zut6.fsf@tarshish \
--to=buildroot@buildroot.org \
--cc=AFahrenkrog@hopperindustrial.com.au \
--cc=baruch@tkos.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.