我正在使用下面这段Python代码。代码相当简单,pexpect向终端发送echo testcase,然后监视终端是否随后出现testcase,然后通过设置bool_value=True来验证它是否看到了回声(假设它看到了预期的输出)。/usr/bin/python
print('Testing case where pexpect finds the expected value
我无法打开我的系统设置,当我试图使用命令cinnamon-settings从终端启动它时,我得到了以下错误:Traceback (mostFile "/usr/lib/python3/dist-packages/pexpect/__init__.py", line 75, in <module>
from .pty_spawnimport sp