在终端中输入: 1.sudo apt-get install python-setuptools 2.Sudo apt-get install python-dev 3.Sudo easy_install twisted