All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Question] - Buildroor 2021.02 - Can't find python-numpy in menuconfig (python 2.7)
@ 2022-05-17  1:11 Alberto Fahrenkrog via buildroot
  2022-05-17  3:32 ` Baruch Siach via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Alberto Fahrenkrog via buildroot @ 2022-05-17  1:11 UTC (permalink / raw)
  To: buildroot


[-- Attachment #1.1.1: Type: text/plain, Size: 750 bytes --]

Hi all,

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. 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.

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.

I haven't spotted any typos.

What's the correct way to add numpy to python 2.7? Any help is appreciated.

Cheers,

Alberto


Alberto Fahrenkrog Snr Electronics engineer
Orica - Perth Technology Centre
p: +61 (0) 8 6365 4056
e: AFahrenkrog@hopperindustrial.com.au

[-- Attachment #1.1.2: Type: text/html, Size: 6391 bytes --]

[-- Attachment #1.2: image658267.png --]
[-- Type: image/png, Size: 14270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [Question] - Buildroor 2021.02 - Can't find python-numpy in menuconfig (python 2.7)
  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
  2022-05-17  8:37   ` Alberto Fahrenkrog via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach via buildroot @ 2022-05-17  3:32 UTC (permalink / raw)
  To: Alberto Fahrenkrog; +Cc: buildroot

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

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

* Re: [Buildroot] [Question] - Buildroor 2021.02 - Can't find python-numpy in menuconfig (python 2.7)
  2022-05-17  3:32 ` Baruch Siach via buildroot
@ 2022-05-17  8:37   ` Alberto Fahrenkrog via buildroot
  0 siblings, 0 replies; 3+ messages in thread
From: Alberto Fahrenkrog via buildroot @ 2022-05-17  8:37 UTC (permalink / raw)
  To: Baruch Siach; +Cc: buildroot


[-- Attachment #1.1.1: Type: text/plain, Size: 3289 bytes --]

Hi Baruch, thanks for your help.

I figured it out. I was using v2020.11 and v2020.05, and that gave me all sorts of trouble. The combination that worked for me was:

  *   BR 2020.02
  *   BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
  *   Kernel 5.4

Earlier versions did not allow me to use the kernel 5.4.

It took me a while to get all right, I had to do a few rebuilds from scratch, but it's all working now. Many thanks!

Cheers,

Alberto

________________________________

Alberto Fahrenkrog Snr Electronics engineer
Orica - Perth Technology Centre
p: +61 (0) 8 6365 4056
e: AFahrenkrog@hopperindustrial.com.au
From: Baruch Siach <baruch@tkos.co.il>
Sent: Tuesday, May 17, 2022 11:32 AM
To: Alberto Fahrenkrog <AFahrenkrog@hopperindustrial.com.au>
Cc: buildroot@buildroot.org <buildroot@buildroot.org>
Subject: Re: [Buildroot] [Question] - Buildroor 2021.02 - Can't find python-numpy in menuconfig (python 2.7)

[You don't often get email from baruch@tkos.co.il. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification.]

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


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, https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.tkos.co.il%2F&amp;data=05%7C01%7CAFahrenkrog%40hopperindustrial.com.au%7C2f7bb0d2493145df263308da37b7a738%7Cd9b9a834a53c4fa3b2c012e53d54aec8%7C0%7C0%7C637883559184011695%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=pjE3ULWjF0Lya1qLc0XyED42T0g61OfNmhk7CQYA8do%3D&amp;reserved=0 -

[-- Attachment #1.1.2: Type: text/html, Size: 8803 bytes --]

[-- Attachment #1.2: image530861.png --]
[-- Type: image/png, Size: 14270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-05-17  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-05-17  8:37   ` Alberto Fahrenkrog via buildroot

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.