前言
安装Python Numpy包出现异常问题
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
一、包源
使用默认的包源出现超时异常,改用清华包源
![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/87ce9b6894bf41ed8c3bffd2bfd5ed3b.png)
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
二、安装完成异常
安装完成之后,出现异常信息。
![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/36010de17eb34b7eab266740a9a38d97.png)
将对应路径添加到PATH环境变量中即可
![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/6adec17abd264dd38ab3c3e9c1645e3e.png)