AttributeError: 'NoneType' object has no attribute 'write' when use numpy >= 2.0.0 with --windowed option #8679
-
Hello, Context information (for bug reports)
pyinstaller = "6.9.0" A minimal example program which shows the error
Stacktrace / full error message
"numpy\f2py\cfuncs.py", line 19 is |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Read https://pyinstaller.org/en/stable/common-issues-and-pitfalls.html#sys-stdin-sys-stdout-and-sys-stderr-in-noconsole-windowed-applications-windows-only for work-around. And report the bug to |
Beta Was this translation helpful? Give feedback.
-
Fixed
|
Beta Was this translation helpful? Give feedback.
Read https://pyinstaller.org/en/stable/common-issues-and-pitfalls.html#sys-stdin-sys-stdout-and-sys-stderr-in-noconsole-windowed-applications-windows-only for work-around.
And report the bug to
numpy
-numpy/f2py/cfuncs.py
should account for possibility thatsys.stderr
isNone
, and in that case seterrmess
to a no-op lambda.