On 24 April 2018 at 08:09, Nishina A. Pervin <nishina.per...@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 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto