Cygwin プロンプトで pexpect サンプル ファイルを実行しているときに、次のエラーが発生します。誰でも助けることができますか?
Administrator@INDSQA2253 /cygdrive/c/Python26/Tools/pexpect-2.1/examples
$ python ssh_session.py
Traceback (most recent call last):
File "ssh_session.py", line 7, in <module>
from pexpect import *
File "c:\Python26\lib\site-packages\pexpect.py", line 83, in <module>
Pexpect is intended for UNIX-like operating systems.""")
ImportError: No module named resource
A critical module was not found. Probably this operating system does not support
it.
Pexpect is intended for UNIX-like operating systems.
Pexpect は、Cygwin から呼び出された Python for Windows で動作しますか?