Config Tools for i.MX 12.1: Ubuntu cannot locat python

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

Config Tools for i.MX 12.1: Ubuntu cannot locat python

1,544 次查看
ad-fsdev
Contributor I

Hello,

I am using config tools for i.MX ubuntu version 12.1  to calculate RAM timings. I figured out that after creating a new project code preview does not work because python couldn't be found. swtool.log shows that one of following errors "Python path does not exist: /opt/nxp/i.MX_CFG_v12.1/bin/python39" because after installation only "/opt/nxp/i.MX_CFG_v12.1/bin/python38" is available and python version is 3.10.0a2+.

Would you please correct this. Thank you.

Whish you Merry Christmas.

0 项奖励
回复
5 回复数

1,523 次查看
don_gunn
Contributor V

I have the same issue.  Any update on this?

0 项奖励
回复

1,510 次查看
ad-fsdev
Contributor I

Hello,

you can set your own path in the tool.ini to -Dpython.dir=python39 (/opt/nxp/i.MX_CFG_v12.1/bin) and it should work too. But the failure (maybe copy paste) is available from my understanding.

Happy new year.

0 项奖励
回复

1,505 次查看
don_gunn
Contributor V

Thank you, I was able to fix the tools.ini file.

The folder that comes with the install package is called python38 but the ini file is set to python39.

That cleared the python error but then I get another error:

"Error    DDRC    Failed to generate code due to erroneous values used to configure DDR!"

I have all of the values set to the defaults for the MX8M Mini evk and I still get this error.  Every time a try to adjust a value I get a message saying "the specified value is not supported".

The same values work properly when I use the Windows based tool.

Don

 

0 项奖励
回复

1,503 次查看
don_gunn
Contributor V
One thing I just noticed - If I save my configuration the
"Error DDRC Failed to generate code due to erroneous values used to configure DDR!"

message goes away but when I try to run the tests on my board I get the message about missing memtool.
0 项奖励
回复

1,504 次查看
don_gunn
Contributor V
If I ignore the message and try to run the tests It fails with the following message:

/opt/nxp/i.MX_CFG_v12.1/bin/python38/bin/python: Error while finding module specification for 'memtool.s' (ModuleNotFoundError: No module named 'memtool')
0 项奖励
回复