华为Neptune开发板环境如何配置 - HarmonyOS技术社区 - 电子技术论坛 - 广受欢迎的专业电子论坛
分享 收藏 返回

[问答]

华为Neptune开发板环境如何配置

本人是名在校大三学生,现在准备毕业设计,

我现在遇到一些问题,
1.按照社区一些文档进行环境配置之后,可以看到node和npm的环境,但是测试hpm-V的时候出现无hpm。(后面按照其他方法,已安装好hpm)
2.运行 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'

更多回帖

×
发帖