回复
【FFH】安装hb工具后报错(ohos笔记2_traceback most recent call
会飞的晨风君
发布于 2022-5-5 09:37
浏览
0收藏
在运行hb -h 后会报错的原因是没有在主目录执行而不是配置和依赖有问题,一些教程提交的先配置hb -h测试需要先进行代码拉取
Traceback (most recent call last):
File "/home/lemma/.local/bin/hb", line 10, in <module>
sys.exit(main())
File "/home/lemma/.local/lib/python3.7/site-packages/hb/__main__.py", line 49, in main
topdir = find_top()
File "/home/lemma/.local/lib/python3.7/site-packages/hb/__main__.py", line 37, in find_top
raise Exception("Please call hb utilities inside source root directory")
Exception: Please call hb utilities inside source root directory
赞
3
收藏
回复
相关推荐