[yocto] Error during Importing pexpect
Nishina A. Pervin
Nishina.Pervin at nestgroup.net
Tue Apr 24 05:38:07 PDT 2018
Thank you so much Ross!
It resolved my issue.
-----Original Message-----
From: Burton, Ross [mailto:ross.burton at intel.com]
Sent: Tuesday, April 24, 2018 3:17 PM
To: Nishina A. Pervin
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Error during Importing pexpect
On 24 April 2018 at 08:09, Nishina A. Pervin <Nishina.Pervin at nestgroup.net> wrote:
> 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
The dependencies on python-pexpect are not complete:
$ oe-pkgdata-util find-path */pty.py
python-terminal: /usr/lib/python2.7/pty.py
python3-terminal: /usr/lib/python3.5/pty.py
That's using Sumo so the names may be different for you, but repeat that command and you'll find out what package you need to add to the python-pexpect RDEPENDS.
Ross
________________________________
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.
________________________________
More information about the yocto
mailing list