Install Python3 on OSX using PIP installation flask

Source: Internet
Author: User
Tags install django
Install python3$ Brew Install Python3python3--version View installation location: $ python3-c "Import sys;print (Sys.path)" Using the watercress PyPI mirror $ mkdir ~/. pip$ Vim ~/.pip/pip.conf[global]timeout = 6000index-url = Http://pypi.douban.com/simple[install]use-mirrors = Truemirrors = Http://pypi.douban.comtrusted-host = pypi.douban.com Two pypi.douban.com can be replaced with other mirrors. Update the PIP version of the system: OS X 10.11.2 system with Python 2.7.10 and Pip is an older version, you can update the sudo pip install--upgrade pip$ pip--versionpip 7.1.2 fro with the following command M/library/python/2.7/site-packages (Python 2.7) Install Flask: Install for System Python 2.7.10: $ sudo pip install Flask for Homebrew Python3 installation: $ PIP3 Install flask Installing other frameworks Similarly, such as installing django:$ PIP3 install Django

--

The Pip.config file for the supplemental 1:windows system should be placed in%userprofile%\pip\pip.config

Add 2: Domestic open source Mirror Site Summary

Install Python3 on OSX using PIP installation flask

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.