When importing NumPy in a Windows 64-bit Python environment, the library emits a warning indicating it was built using the MINGW-W64 toolchain. The build is flagged as experimental and not intended for production use, with an explicit warning that crashes may occur. In addition, multiple RuntimeWarning messages are raised during NumPy initialization from numpy.core.getlimits, involving invalid values encountered in mathematical functions such as exp2, nextafter, and log10.
These warnings occur immediately upon importing NumPy and suggest that a non-standard or unstable NumPy build is being used in the environment.
Console Output
:488: Warning: Numpy built with MINGW-W64 on Windows 64 bits is experimental, and only available for testing. You are advised not to use it for production.
CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:225: RuntimeWarning: invalid value encountered in exp2
epsneg_f128 = exp2(ld(-113))
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:226: RuntimeWarning: invalid value encountered in exp2
tiny_f128 = exp2(ld(-16382))
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:240: RuntimeWarning: invalid value encountered in exp2
eps=exp2(ld(-112)),
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:41: RuntimeWarning: invalid value encountered in nextafter
self._smallest_subnormal = nextafter(
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:52: RuntimeWarning: invalid value encountered in log10
self.precision = int(-log10(self.eps))
Environment
OS: Windows 64-bit
Python version: 3.13.13
Installation method: pip (inside virtual environment)
When importing NumPy in a Windows 64-bit Python environment, the library emits a warning indicating it was built using the MINGW-W64 toolchain. The build is flagged as experimental and not intended for production use, with an explicit warning that crashes may occur. In addition, multiple RuntimeWarning messages are raised during NumPy initialization from numpy.core.getlimits, involving invalid values encountered in mathematical functions such as exp2, nextafter, and log10.
These warnings occur immediately upon importing NumPy and suggest that a non-standard or unstable NumPy build is being used in the environment.
Console Output
:488: Warning: Numpy built with MINGW-W64 on Windows 64 bits is experimental, and only available for testing. You are advised not to use it for production.
CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:225: RuntimeWarning: invalid value encountered in exp2
epsneg_f128 = exp2(ld(-113))
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:226: RuntimeWarning: invalid value encountered in exp2
tiny_f128 = exp2(ld(-16382))
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:240: RuntimeWarning: invalid value encountered in exp2
eps=exp2(ld(-112)),
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:41: RuntimeWarning: invalid value encountered in nextafter
self._smallest_subnormal = nextafter(
C:\Users\cleis\Documents\rnn\Lib\site-packages\numpy\core\getlimits.py:52: RuntimeWarning: invalid value encountered in log10
self.precision = int(-log10(self.eps))
Environment
OS: Windows 64-bit
Python version: 3.13.13
Installation method: pip (inside virtual environment)