All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Burton, Ross" <ross.burton@intel.com>
To: "Nishina A. Pervin" <Nishina.Pervin@nestgroup.net>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Error during Importing pexpect
Date: Tue, 24 Apr 2018 10:47:15 +0100	[thread overview]
Message-ID: <CAJTo0LZT_KjCu=FK-ymwvXjR+1qDDjrcn_ZxLAFRxbyGU3eGhw@mail.gmail.com> (raw)
In-Reply-To: <E3DACD6AA0B26143AF16244886B5278E1FE92BBF@MBCHN01.chn.nestgroup.net>

On 24 April 2018 at 08:09, Nishina A. Pervin
<Nishina.Pervin@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@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


  reply	other threads:[~2018-04-24  9:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24  7:09 Error during Importing pexpect Nishina A. Pervin
2018-04-24  9:47 ` Burton, Ross [this message]
2018-04-24 12:38   ` Nishina A. Pervin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJTo0LZT_KjCu=FK-ymwvXjR+1qDDjrcn_ZxLAFRxbyGU3eGhw@mail.gmail.com' \
    --to=ross.burton@intel.com \
    --cc=Nishina.Pervin@nestgroup.net \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.