ARTICLE · 1403567
numpy和matplotlib库的下载
numpy和matplotlib库的下载
桌面右键打开PowerShell
PowerShell 执行这条安装 uv:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
执行这条命令:强制只下载预编译好的二进制包,禁止源码编译
py -m pip install numpy matplotlib --only-binary :all: -i https://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
安装完成后,验证是否成功:
py -c "import numpy, matplotlib; print('安装成功,numpy版本:',numpy.__version__)"
安装matplotlib
py -m pip install matplotlib --only-binary :all: -i https://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com















































































