Open datsir opened 1 year ago
Uninstall Python 3.10 and install Python 3.9, that did it for me
Edit: I think it's because Numpy isn't updated for 3.10 yet, and your log seems to confirm that:
Collecting numpy==1.19.5 Downloading numpy-1.19.5.zip (7.3 MB) ---------------------------------------- 7.3/7.3 MB 4.2 MB/s eta 0:00:00 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.5 may not yet support Python 3.10.
Microsoft Windows [Version 10.0.19044.1889] (c) Microsoft Corporation. All rights reserved.
C:\Users\Henrich Viviers\Documents\stable_diffusion.openvino-master>pip install -r requirements.txt Collecting numpy==1.19.5 Downloading numpy-1.19.5.zip (7.3 MB) ---------------------------------------- 7.3/7.3 MB 4.2 MB/s eta 0:00:00 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.5 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:\Users\Henrich Viviers\AppData\Local\Programs\Python\Python310\lib', 'C:\', 'C:\Users\Henrich Viviers\AppData\Local\Programs\Python\Python310\libs'] NOT AVAILABLE
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.