小白,scipy安装失败了,提示如下一大堆,真难呀晕了,求好心人指点哪里的问题呀,怎么办?
C:\Windows\system32>pipinstall scipy Collecting scipy Using cached scipy-1.9.1.tar.gz (42.0 MB) Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install builddependencies did not run successfully. │ exit code: 1 ╰─> [34 lines of output] Ignoring numpy: markers 'python_version== "3.8" and platform_machine == "aarch64" andplatform_python_implementation != "PyPy"' don't match yourenvironment Ignoring numpy: markers 'python_version== "3.8" and platform_machine == "arm64" and platform_system== "Darwin"' don't match your environment Ignoring numpy: markers 'python_version== "3.9" and platform_machine == "arm64" andplatform_system == "Darwin"' don't match your environment Ignoring numpy: markers 'platform_machine== "loongarch64"' don't match your environment Ignoring numpy: markers 'python_version== "3.8" and (platform_machine != "arm64" orplatform_system != "Darwin") and platform_machine !="aarch64" and platform_machine != "loongarch64" andplatform_python_implementation != "PyPy"' don't match yourenvironment Ignoring numpy: markers 'python_version== "3.9" and (platform_machine != "arm64" orplatform_system != "Darwin") and platform_machine !="loongarch64" and platform_python_implementation != "PyPy"'don't match your environment Ignoring numpy: markers 'python_version== "3.11" and platform_python_implementation != "PyPy"'don't match your environment Ignoring numpy: markers 'python_version>= "3.12"' don't match your environment Ignoring numpy: markers 'python_version>= "3.8" and platform_python_implementation == "PyPy"'don't match your environment Collecting meson-python>=0.8.1 Using cachedmeson_python-0.10.0-py3-none-any.whl (18 kB) Collecting meson==0.62.2 Using cachedmeson-0.62.2-py3-none-any.whl (864 kB) Collecting Cython<3.0,>=0.29.21 Using cachedCython-0.29.32-py2.py3-none-any.whl (986 kB) Collecting pybind11<2.11.0,>=2.4.3 Using cachedpybind11-2.10.0-py3-none-any.whl (213 kB) Collecting pythran<0.12.0,>=0.9.12 Using cachedpythran-0.11.0-py3-none-any.whl (4.2 MB) Collecting wheel<0.38.0 Using cachedwheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting numpy==1.22.3 Using cachednumpy-1.22.3-cp310-cp310-win32.whl (12.2 MB) ERROR: Cannot install numpy==1.21.6 andnumpy==1.22.3 because these package versi** have conflicting dependencies. The conflict is caused by: The user requested numpy==1.22.3 The user requested numpy==1.21.6 To fix this you could try to: 1. loosen the range of package versi**you've specified 2. remove package versi** to allow pipattempt to solve the dependency conflict [end of output] note: This error originates from asubprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pipsubprocess to install build dependencies did not run successfully. │ exit code:1 ╰─> Seeabove for output. note: This errororiginates from a subprocess, and is likely not a problem with pip.
|