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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

9,771 次查看
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.

标签 (1)
4 回复数

6,542 次查看
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.

6,542 次查看
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 项奖励
回复

6,542 次查看
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 项奖励
回复

6,542 次查看
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