【Flask系列】 1. 安装Flask
OS: Ubuntu 14.04.03 Desktop
Flask: 0.10.1
lxl@ubuntu:~$ sudo pip install flask The directory '/home/lxl/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/lxl/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting flask /usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Downloading Flask-0.10.1.tar.gz (544kB) 100% |████████████████████████████████| 544kB 220kB/s Collecting Werkzeug>=0.7 (from flask) Downloading Werkzeug-0.11-py2.py3-none-any.whl (304kB) 100% |████████████████████████████████| 307kB 370kB/s Collecting Jinja2>=2.4 (from flask) Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB) 100% |████████████████████████████████| 266kB 497kB/s Collecting itsdangerous>=0.21 (from flask) Downloading itsdangerous-0.24.tar.gz (46kB) 100% |████████████████████████████████| 49kB 1.7MB/s Collecting MarkupSafe (from Jinja2>=2.4->flask) Downloading MarkupSafe-0.23.tar.gz Installing collected packages: Werkzeug, MarkupSafe, Jinja2, itsdangerous, flask Running setup.py install for MarkupSafe Running setup.py install for itsdangerous Running setup.py install for flask Successfully installed Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11 flask-0.10.1 itsdangerous-0.24 lxl@ubuntu:~$

浙公网安备 33010602011771号