Using Windows 10.
1. python -m pip install --upgrade pip setuptools wheel
2. python -m pip install bzt
I get a long error trace, where the error is:
numpy\core\src\common\npy_cpu_dispatch.h(1): warning C4819: The file contains a
character that cannot be represented in the current code page (1255). Save the
file in Unicode format to prevent data loss
More of the log follows.
Thank you!
Guy
_umath_tests.dispatch.avx2.c
numpy\core\src\common\npy_cpu_dispatch.h(1): error C2220: the following warning
is treated as an error
numpy\core\src\common\npy_cpu_dispatch.h(1): warning C4819: The file contains a
character that cannot be represented in the current code page (1255). Save the
file in Unicode format to prevent data loss
error: Command "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c
/nologo /O2 /W3 /GL /DNDEBUG /MD -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1
-Inumpy\core\include -Ibuild\src.win-amd64-3.11\numpy\core\include/numpy
-Ibuild\src.win-amd64-3.11\numpy\distutils\include -Ibuild\src.win-amd64-3.11\numpy\core\src\umath
-Inumpy\core\src\common -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath
-Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort
-Inumpy\core\src\_simd -IC:\Python311\include -IC:\Python311\include -Ibuild\src.win-amd64-3.11\numpy\core\src\common
-Ibuild\src.win-amd64-3.11\numpy\core\src\npymath -IC:\Program Files
(x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program
Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include
-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program
Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files
(x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files
(x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.19041.0\cppwinrt
/Tcbuild\src.win-amd64-3.11\numpy\core\src\umath\_umath_tests.dispatch.avx2.c
/Fobuild\temp.win-amd64-3.11\Release\build\src.win-amd64-3.11\numpy\core\src\umath\_umath_tests.dispatch.avx2.obj
/WX /arch:AVX2" failed with exit status 2
INFO:
########### EXT COMPILER OPTIMIZATION ###########
INFO: Platform :
Architecture: x64
Compiler : msvc
CPU baseline :
Requested : 'min'
Enabled : SSE SSE2 SSE3
Flags : none
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD
AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
Generated :
:
SSE41 : SSE SSE2 SSE3 SSSE3
Flags :
Extra checks: none
Detect : SSE SSE2 SSE3 SSSE3 SSE41
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_unary_fp.dispatch.c
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_arithmetic.dispatch.c
: numpy\core\src\umath\_umath_tests.dispatch.c
:
AVX2 : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3
Flags : /arch:AVX2
Extra checks: none
Detect : AVX F16C FMA3 AVX2
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_arithm_fp.dispatch.c
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_arithmetic.dispatch.c
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_trigonometric.dispatch.c
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_exponent_log.dispatch.c
: numpy\core\src\umath\_umath_tests.dispatch.c
:
AVX512F : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512CD
AVX512_SKX
Flags : /arch:AVX512
Extra checks: AVX512F_REDUCE
Detect : AVX512_SKX
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_arithm_fp.dispatch.c
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_trigonometric.dispatch.c
:
AVX512_SKX : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F
AVX512CD
Flags : /arch:AVX512
Extra checks: AVX512BW_MASK AVX512DQ_MASK
Detect : AVX512_SKX
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_arithmetic.dispatch.c
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_umath_fp.dispatch.c
: build\src.win-amd64-3.11\numpy\core\src\umath\loops_exponent_log.dispatch.c
INFO: CCompilerOpt.cache_flush[817] : write cache to path ->
C:\Users\guyl\AppData\Local\Temp\pip-install-6h86ixa5\numpy_ed5dfe3d81d04b03a645aa4ac99f440b\build\temp.win-amd64-3.11\Release\ccompiler_opt_cache_ext.py
INFO:
########### CLIB COMPILER OPTIMIZATION ###########
INFO: Platform :
Architecture: x64
Compiler : msvc
CPU baseline :
Requested : 'min'
Enabled : SSE SSE2 SSE3
Flags : none
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD
AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
Generated : none
INFO: CCompilerOpt.cache_flush[817] : write cache to path ->
C:\Users\guyl\AppData\Local\Temp\pip-install-6h86ixa5\numpy_ed5dfe3d81d04b03a645aa4ac99f440b\build\temp.win-amd64-3.11\ccompiler_opt_cache_clib.py
[end of output]
note: This error originates from a subprocess, and is likely not
a problem with pip.
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install
pyproject.toml-based projects
WARNING: Ignoring invalid distribution -ip (c:\python311\lib\site-packages)
[end of output]
note: This error originates from a subprocess, and is likely not
a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run
successfully.
│ exit code: 1
╰─> See above for output.