夜雨聆风学习资料网

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

回首页,搜索你想要的文档

在首页搜索框输入关键词,快速定位资料

文库首页搜索指引 立即搜索

相关学习资料