FATAL: The knotty ui could not load the required curses python module.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FATAL: The knotty ui could not load the required curses python module.

7,366 Views
manjularajesh
Contributor II

when bitbake fsl-flash image is given for t1040rdb-64bit using latest sdk1.7 on CentOS, i am getting the following error:

FATAL: The knotty ui could not load the required curses python module.

Labels (1)
4 Replies

4,137 Views
mg2045
Contributor I

I have faced the same problem on my opensuse machine and the problem was resolved after I installed the python3-curses package.

4,137 Views
lunminliang
NXP Employee
NXP Employee

Hi Manjula Rajesh,

What's the CentOS version?  It is said CentOS 6.5 installs python 2.6.6 and Yocto Project can work on most recent Linux distributions with Python-2.7.3 or later and required packages installed.

Regards

Lunmin

0 Kudos

4,137 Views
manjularajesh
Contributor II

I am not able to uninstall python 2.6.6 to install 2.7.3 as default . when I give --version always it gives 2.6.6

0 Kudos

4,137 Views
lunminliang
NXP Employee
NXP Employee

Hello Manjula Rajesh,

Have you try the instructions in SDK document for this? Copy below:

Please follow below instructions to install the Python 2.7.x in custom path instead of override the system default python, the override may cause system utilities breaking.

$ wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz

[NOTE: Python 2.7.3 and python 2.7.5 can be used as well.]

$ tar -xf Python-2.7.6.tar.xz

$ cd Python-2.7.6

$ ./configure --prefix=/opt/python-2.7.6

$ make

$ sudo make install

Please run below export command to ensure python 2.7.x is used for Yocto build.

$ export PATH=/opt/python-2.7.6/bin:$PATH

Regards

Lunmin