库在pexpect和easy_install中有依赖项。所以,在安装easy_install之后,我需要安装s3cmd,这是一个与亚马逊的S3一起工作的工具。import pexpect # pexpect is not installed ... it will be
subprocess.call(['sudo easy_install s3cmd'])
# now use pexpect to configure s3c
File "/usr/lib/python3/dist-packages/IPython/utils/_process_posix.py", line 24, in <module>
import pexpectFile "/usr/lib/python3/dist-packages/pexpect/__init__.py", line 75, in <module