[yocto] Error during Importing pexpect

Nishina A. Pervin Nishina.Pervin at nestgroup.net
Tue Apr 24 00:09:48 PDT 2018


Hi,

When I am trying to import pexpect to make my program interactive in Krogoth branch of Yocto build for imx6qsabreauto board, i am getting the following error: Please help me to resolve the issue.

root at imx6qsabreauto:/usr/bin# ./SensorTag.py B0:B4:48:BF:17:05
Traceback (most recent call last):
  File "./SensorTag.py", line 3, in <module>
    import pexpect
  File "/usr/bin/pexpect.py", line 41, in <module>
    Currently pexpect is intended for UNIX operating systems."""
ImportError: No module named pty
A critical module was not found. Probably this OS does not support it.
Currently pexpect is intended for UNIX operating systems.
root at imx6qsabreauto:/usr/bin#

Please help me to resolve the issue.

Regards,
Nishina
________________________________

Confidentiality Statement / Disclaimer : This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.

The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180424/683c9751/attachment.html>


More information about the yocto mailing list