[问答]华为Neptune开发板环境如何配置

阅读量0
0
2

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

我现在遇到一些问题,
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'

回帖

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容图片侵权或者其他问题,请联系本站作侵删。 侵权投诉
链接复制成功,分享给好友