1. Open the terminal input command (to install numpy example)
pip install numpy
2. If the run times out error, because the installation source is foreign, installation is relatively slow, dropped the case also prone. In this case the following instruction to replace
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
此处使用的是清华源
3. If the error can not insatll package appears, indicating that the library needs to install the dependent libraries, then you can re-find the official website of the library dependencies, then install dependencies, then install this library.
4.mac python2 comes, there may be mounted to python2 pip environment, instructions may be changed at this time
pip3 install numpy