华为Neptune开发板环境配置好了,但是运行python3 build.py w800这个命令的时候提示错误。
Traceback (most recent call last):
File "build/lite/hb/__main__.py", line 85, in <module>
sys.exit(main())
File "build/lite/hb/__main__.py", line 64, in main
module = importlib.import_module('.{}'.format(each.get('name')),
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 848, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/root/HarmonyOS/neptune-harmony-os1.1-iot-master/build/lite/hb/build/build.py", line 21, in <module>
from hb.build.build_process import Build
File "/root/HarmonyOS/neptune-harmony-os1.1-iot-master/build/lite/hb/build/build_process.py", line 28, in <module>
from hb.cts.cts import CTS
File "/root/HarmonyOS/neptune-harmony-os1.1-iot-master/build/lite/hb/cts/cts.py", line 32, in <module>
from hb.cts.common import check_path
File "/root/HarmonyOS/neptune-harmony-os1.1-iot-master/build/lite/hb/cts/common.py", line 26, in <module>
from prompt_toolkit.styles import style_from_dict
ModuleNotFoundError: No module named 'prompt_toolkit'
可以帮忙看看是怎么回事,这是我遇到的门槛 不知道怎么解决。
我现在在搞毕业设计,光是搞环境搞了三天左右了,希望大家能够帮我看看怎么解决这个问题?
更多回帖