Windows中安装pip及numpy

由于在安装python时有添加到环境变量的选项,所以省去了添加变量这一步。

到https://pypi.python.org/pypi/pip/#downloads下载pip的最新版本压缩包,解压后放到一个方便的目录,例如\Python\pip

在CMD中输入命令

cd /d D:\Python\pip\

定位到pip的setpu.py存在的目录

输入安装命令

python setup.py install 

安装

安装numpy包

python -m pip install numpy

参考博客http://blog.csdn.net/i2cbus/article/details/43577041

你可能感兴趣的:(python学习笔记)