Re: [Numpy-discussion] Compilation failures in f2py

2021-01-12 Thread Christopher Albert
Hi Sam,

looks like the XCode command line tools containing standard headers are
either not installed or updated. Try xcode-select --install or manually
download them from https://developer.apple.com/download/more/ and maybe
uninstall/reinstall them in case updates don't work. Check with

find /Library/Developer/CommandLineTools/ -name _stdio.h

which should
give 
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h
(besides possible older versions of MacOSX)

Best,

Chris




Am Sa., 9. Jan. 2021 um 03:02 Uhr schrieb Samuel Dupree <
sdup...@speakeasy.net>:

> I'm attempting to wrap a Fortran-77 source member library using f2py.
> I'm running he Anaconda distribution for Python 3.7.6 on a Mac Pro
> (2019) under Mac OS X Big Sur (ver. 11.1). The version of Xcode.app I'm
> running is 12.3. The version of NumPy I'm running is 1.18.3.
>
> The errors I'm getting are from header files the compiler can't find as
> captured in the attached log file. A sample of the kind of errors I'm
> seeing are captured below.
>
> compile options:
> '-I/var/folders/2r/4bw6nw0x58z0_ybx632_h14mgq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7
>
> -I/Users/user/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include
> -I/Users/user/opt/anaconda3/include/python3.7m -c'
> gcc:
>
> /var/folders/2r/4bw6nw0x58z0_ybx632_h14mgq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/sofapymodule.c
> gcc:
>
> /var/folders/2r/4bw6nw0x58z0_ybx632_h14mgq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/fortranobject.c
> In file included from
>
> /opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/syslimits.h:7,
>   from
>
> /opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/limits.h:34,
>   from
> /Users/user/opt/anaconda3/include/python3.7m/Python.h:11,
>   from
>
> /var/folders/2r/4bw6nw0x58z0_ybx632_h14mgq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/sofapymodule.c:14:
> /opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/limits.h:195:61:
>
> error: no include path in which to search for limits.h
>195 | #include_next   /* recurse down to the real one */
> | ^
> In file included from
> /Users/user/opt/anaconda3/include/python3.7m/Python.h:25,
>   from
>
> /var/folders/2r/4bw6nw0x58z0_ybx632_h14mgq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/sofapymodule.c:14:
> /opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/stdio.h:78:10:
>
> fatal error: _stdio.h: No such file or directory
> 78 | #include <_stdio.h>
>|  ^~
> compilation terminated.
>
> Any suggestions?
>
> Sam Dupree.
>
>
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] numpy.linalg interference with matplot.lib

2021-01-12 Thread Frederix96

Dear Kevin,

Thanks for the suggestion. I do not have those Windows Versions.
I have Microsoft Windows 10 Pro with Version 10.0.19041 Build 19041.
Anyway I still tried upgrading to 1.19.5 with no changes.

Thanks a lot!

Best regards,

Frederix96




___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] NumPy Development Meeting Wednesday - Triage Focus

2021-01-12 Thread Sebastian Berg
Hi all,

Our bi-weekly triage-focused NumPy development meeting is tomorrow
(Wednesday, Jan 13th) at 11 am Pacific Time (19:00 UTC).
Everyone is invited to join in and edit the work-in-progress meeting
topics and notes:
https://hackmd.io/68i_JvOYQfy9ERiHgXMPvg

I encourage everyone to notify us of issues or PRs that you feel should
be prioritized, discussed, or reviewed.

Best regards

Sebastian



signature.asc
Description: This is a digitally signed message part
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion