参考URL:
http://www.cnblogs.com/haython/p/3970426.html
http://www.pythondoc.com/flask/installation.html#installation
easy_install和pip都是用来下载安装Python一个公共资源库PyPI的相关资源包的
首先安装easy_install
下载地址:https://pypi.python.org/pypi/ez_setup
解压,安装.
python ez_setup.py
安装好easy_install 之后 再安装pip
下载地址:https://pypi.python.org/pypi/pip
解压,安装.
python setup.py install
~~~~~~~~~~~~~~~
pip install virtualenv
$ mkdir myproject $ cd myproject $ virtualenv venv New python executable in venv/bin/python Installing distribute............done.
. venv/bin/activate
pip install Flask 要注意相关的前缀哟