pip install -r requirements.txt
on windows fail to install numpy
How to avoid the issue? When/why this specific version of library is required? (and not the latest version)
It sound like a classic weakness of using python (no compromise with time of others spent in making code run as expected)
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [267 lines of output]
setup.py:67: RuntimeWarning: NumPy 1.19.4 may not yet support Python 3.10.
warnings.warn(
Running from numpy source directory.
setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
Processing numpy/random_bounded_integers.pxd.in
Processing numpy/random\bit_generator.pyx
Processing numpy/random\mtrand.pyx
Processing numpy/random_bounded_integers.pyx.in
Processing numpy/random_common.pyx
Processing numpy/random_generator.pyx
Processing numpy/random_mt19937.pyx
Processing numpy/random_pcg64.pyx
Processing numpy/random_philox.pyx
Processing numpy/random_sfc64.pyx
Cythonizing sources
blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['C:\Python310\lib', 'C:\', 'C:\Python310\libs']
NOT AVAILABLE
pip install -r requirements.txt on windows fail to install numpy How to avoid the issue? When/why this specific version of library is required? (and not the latest version) It sound like a classic weakness of using python (no compromise with time of others spent in making code run as expected)
Collecting numpy==1.19.4 Using cached numpy-1.19.4.zip (7.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [267 lines of output] setup.py:67: RuntimeWarning: NumPy 1.19.4 may not yet support Python 3.10. warnings.warn( Running from numpy source directory. setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates run_build = parse_setuppy_commands() Processing numpy/random_bounded_integers.pxd.in Processing numpy/random\bit_generator.pyx Processing numpy/random\mtrand.pyx Processing numpy/random_bounded_integers.pyx.in Processing numpy/random_common.pyx Processing numpy/random_generator.pyx Processing numpy/random_mt19937.pyx Processing numpy/random_pcg64.pyx Processing numpy/random_philox.pyx Processing numpy/random_sfc64.pyx Cythonizing sources blas_opt_info: blas_mkl_info: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries mkl_rt not found in ['C:\Python310\lib', 'C:\', 'C:\Python310\libs'] NOT AVAILABLE