We can use the pexpect without installing, below is the best way to use:
It will work.
- Downloaded Pexpect 2.4 ( https://pypi.org/project/pexpect/2.4/#files).
- We tested on python 2.7.10 version, need to check in latest python version, not sure this will work on latest.
- Also seems not support in latest pexpect version because latest version doesn't have pexpect.py file iteself. so best use pexpect 2.4 version.
It will work.