I need numpy and scipy to perform some signal analysis. Has anyone succeeded in doing this? (I am interested in running it natively, not via virtualenv). My ultimate goal is to build an exe from the python script that uses numpy and scipy that can be run in WinPE for tests.
I have successfully installed python 3.11.2 and am able to get to numpy installation which also fails at this.
INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
INFO: build_src
INFO: building py_modules sources
creating build
creating build\src.win-arm64-3.11
creating build\src.win-arm64-3.11\numpy
creating build\src.win-arm64-3.11\numpy\distutils
INFO: building library "npymath" sources
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[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
Numpy and Scipy don't provide pre-built binary wheels for Windows Arm64 yet and need to be built from the source during installation. You will need to install Visual Studio 2019 with C/C++ toolchains.