先安装brew
然后安装wget
brew install wget
下载pip脚本
1 |
wget https://bootstrap.pypa.io/get-pip.py |
安装pip
1 |
sudo python get-pip.py
|
成功后安装tornado
sudo pip install tornado
然后在Python下试试 import tornado 能执行就是成功啦
先安装brew
然后安装wget
brew install wget
下载pip脚本
1 |
wget https://bootstrap.pypa.io/get-pip.py |
安装pip
1 |
sudo python get-pip.py
|
成功后安装tornado
sudo pip install tornado
然后在Python下试试 import tornado 能执行就是成功啦