刚刚安装了fabric,试图使用在不同服务器上工作的同一个fabfile,在这里得到这个错误:
Traceback (most recent call last):
File "/var/lib/python-support/python2.6/fabric.py", line 1211, in main
load(fabfile, fail='warn')
File "/var/lib/python-support/python2.6/fabric.py", line 467, in load
execfile(filename)
File "fabfile.py", line 2, in <module>
from fabric.api import *
ImportError: No module named api