1. Open the terminal
2. Python2.7 comes with the Mac, and if PIP is not installed on the Mac, you install PIP first. PIP is a Python package management tool that is used to install packages on PyPI instead of the easy_install tool.
install command: sudo easy_install PIP
install successfully, it appears as follows:
Installed /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg
Processing dependencies for PIP
Finished Processing dependencies for PIP
3. Install Flask
terminal input command: sudo PIP install Flask as shown in the picture:
4. View
input command: PIP list as follows:
5.
the success of the installation under pyhton, input the import flask as shown below, is installed successfully
Read More:
- Installing Jieba in Anaconda environment
- Solution of flash screen caused by OpenGL in MFC environment
- Solution of Prophet error reporting when installing R package in Kubuntu virtual machine environment
- Installing PIP under mac
- “Practical tips” to solve the error after installing inode in MAC system: libcoreutils.dylib
- Configuring OpenGL development environment in win10 + vs2015 (including the method of installing 32-bit and 64 bit libraries)
- Solution to the flash back, error report and unexpected exit of idea MAC windows
- Mac – build. Net development environment
- Installing Vue devtools under mac
- Installing nmap on Mac OS
- Mac clion configuring opencv environment
- When installing / uninstalling SQL, a black box of command prompt will pop up, and then it will flash without response
- Configuring OpenGL environment on Mac OS
- Anaconda create environment, delete environment, activate environment, exit environment
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- The solution of console flash in C + +
- Error in installing Google Chrome in Ubuntu
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad
- Summary of errors in installing texlive2017
- Some problems in installing wsl2 and NVIDIA docker in win10