解决办法: PATH=/usr/bin: $PATH python setup.py install (源码安装方式, 其他应类似) 参考这里: https://github.com/tornadoweb/tornado/wiki/Installation-Troubleshooting