Skip to content

显示相关库import报错:ImportError: no module named 'lvgl'和'LCD' #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Irvingao opened this issue Apr 3, 2025 · 1 comment

Comments

@Irvingao
Copy link

Irvingao commented Apr 3, 2025

硬件

Image

固件版本

EC800MCNGBR06A01M08_OCPU_QPY_TEST0303.zip

报错内容

  • 运行example可以成功,喇叭也有声音,log输出正常,但是import 一些显示相关的库都报错。
>>> import example
>>> example.exec('/usr/example_ai.py')
lte network normal
volume: 6
>>> TIKTOK_RTC_EVENT_START
TIKTOK_RTC_EVENT_TTS_TEXT 你好
TIKTOK_RTC_EVENT_TTS_TEXT 你好有
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么可
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么可以
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么可以帮
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么可以帮到
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么可以帮到你
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么可以帮到你的
TIKTOK_RTC_EVENT_TTS_TEXT 你好有什么可以帮到你的吗

>>> 
>>> 
>>> print('hello world')
hello world
>>> 
>>> 
>>> 
>>> from machine import UART
>>> from machine import Timer
>>> from machine import ExtInt
>>> from machine import RTC
>>> from machine import I2C
>>> from machine import I2C_simulation
>>> from machine import SPI
>>> from machine import LCD
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: can't import name LCD
>>> 
>>> from machine import WDT
>>> import miscimport misc
>>> import audio
>>> from gnss import GnssGetData
>>> import quecgnss
>>> import cellLocator
>>> import TiktokRTC
>>> from aLiYun import aLiYun
>>> import poc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'poc'
>>> 
>>> import lvgl as lv
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'lvgl'
>>> 
@Irvingao Irvingao changed the title ImportError: no module named 'lvgl' 显示相关库import报错:ImportError: no module named 'lvgl'和'LCD' Apr 4, 2025
@xjinGao
Copy link

xjinGao commented Apr 27, 2025

'lvgl'和'LCD'是单独的功能模块,测试固件版本因空间有限,未默认支持。
可以联系我们前端的FAE进行支持,更新功能支持固件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants