搭建环境出错了咋办,不想用虚拟机.....
各位大佬们好~我刚才在按照官方的教程搭建环境,,,可是发现报错了,求求各位大佬帮助~
源码包是从虚拟机提取的....感觉虚拟机不方便,打算直接上真机....
这个错误出在哪里,该咋解决啊.....求求大佬帮助一下....
编译环境
赞
收藏 0
回答 2
待解决
相关问题
虚拟机mysql连不上怎么回事?
2186浏览 • 1回复 待解决
虚拟机vmware10 版本,安装centos7.0系统,开启虚拟机后,报错是怎么回事?
2491浏览 • 1回复 待解决
怎么在预览器或者虚拟机中输入中文,或者华为虚拟机怎么联网下载其他app
403浏览 • 1回复 待解决
api version6 是不是只能在虚拟机用
6645浏览 • 2回复 已解决
Linux系统搭建鸿蒙环境编译出错,[OHOS ERROR]
15820浏览 • 2回复 已解决
除了用虚拟机软件自带的共享文件夹之外大家都用什么访问虚拟机ubuntu下的文件夹啊,能进行修改?
1930浏览 • 1回复 待解决
Windows工作环境搭建完成后,编译时出错~求助
6957浏览 • 1回复 已解决
请教下,32位电脑可以用虚拟机安装DevEco Studio吗?
7005浏览 • 2回复 已解决
Xshell连接Virtualbox虚拟机里的centos连不上的问题有懂得吗?
1948浏览 • 1回复 待解决
DevEco Studio中大小屏虚拟机之间切换运行时报错,求解
9493浏览 • 2回复 待解决
为什么华为手机玩不了永恒战士2别的手机用虚拟机都能玩
6473浏览 • 1回复 待解决
在虚拟机上运行不了鸿蒙项目
6639浏览 • 1回复 待解决
关于私仓、构建机环境搭建、编译脚本能提供相关文档吗
763浏览 • 1回复 待解决
求助,自定义组件到底哪里出错了?
1921浏览 • 1回复 待解决
HarmonyOS 虚拟机上通过C接口创建audiorender失败
360浏览 • 1回复 待解决
内网开发环境搭建问题
135浏览 • 1回复 待解决
升级鸿蒙3以后,虚拟机被限制进程,由于没有无线调试,通过usb调试激活也无法使用。
5381浏览 • 0回复 待解决
搭建鸿蒙环境时,编译报错
12961浏览 • 4回复 待解决
无法创建相机,不知道哪里出错了,大佬帮忙看看
4897浏览 • 1回复 待解决
在Windows平台使用VS code打开虚拟机Samba映射的harmony3.0代码,会显示无法打开头文件
6525浏览 • 1回复 待解决
在虚拟机上安装win7和ubuntu双系统怎么回事?
2023浏览 • 1回复 待解决
请问一下,鸿蒙系统的原生软件不是运行在虚拟机上的吧?
4286浏览 • 1回复 待解决
求助求助——鸿蒙系统Windows环境搭建时hpm安装失败!!!
15973浏览 • 6回复 已解决
求助~鸿蒙系统windows环境搭建(hpm-cli安装失败)!
13766浏览 • 1回复 已解决
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Script/Main.py", line 1376, in main
_exec_main(parser, values)
File "/usr/lib/scons/SCons/Script/Main.py", line 1339, in _exec_main
_main(parser)
File "/usr/lib/scons/SCons/Script/Main.py", line 1006, in _main
SCons.Script._SConscript._SConscript(fs, script)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 255, in _SConscript
exec(compile(_file_.read(), _file_.name, 'exec'),
File "/home/ryc/code/vendor/hisi/hi3861/hi3861/SConstruct", line 34, in <module>
from scripts import pkt_builder
File "/home/ryc/code/vendor/hisi/hi3861/hi3861/build/scripts/pkt_builder.py", line 24, in <module>
import make_upg_file as MAKE_IMAGE
File "/home/ryc/code/vendor/hisi/hi3861/hi3861/build/scripts/make_upg_file.py", line 30, in <module>
from Crypto.PublicKey import RSA
File "/usr/lib/python3/dist-packages/Crypto/PublicKey/RSA.py", line 78, in <module>
from Crypto import Random
File "/usr/lib/python3/dist-packages/Crypto/Random/__init__.py", line 29, in <module>
from Crypto.Random import _UserFriendlyRNG
File "/usr/lib/python3/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 38, in <module>
from Crypto.Random.Fortuna import FortunaAccumulator
File "/usr/lib/python3/dist-packages/Crypto/Random/Fortuna/FortunaAccumulator.py", line 39, in <module>
from . import FortunaGenerator
File "/usr/lib/python3/dist-packages/Crypto/Random/Fortuna/FortunaGenerator.py", line 35, in <module>
from Crypto.Util import Counter
File "/usr/lib/python3/dist-packages/Crypto/Util/Counter.py", line 59, in <module>
from Crypto.Util import _counter
ImportError: cannot import name '_counter' from 'Crypto.Util' (/usr/lib/python3/dist-packages/Crypto/Util/__init__.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/scons", line 201, in <module>
SCons.Script.main()
File "/usr/lib/scons/SCons/Script/Main.py", line 1401, in main
SCons.Script._SConscript.SConscript_exception()
File "/usr/lib/scons/SCons/Script/SConscript.py", line 319, in SConscript_exception
stack = traceback.extract_tb(tb)
File "/usr/lib/python3.8/traceback.py", line 72, in extract_tb
return StackSummary.extract(walk_tb(tb), limit=limit)
File "/usr/lib/python3.8/traceback.py", line 366, in extract
f.line
File "/usr/lib/python3.8/traceback.py", line 288, in line
self._line = linecache.getline(self.filename, self.lineno).strip()
File "/usr/lib/python3.8/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
File "/usr/lib/python3.8/linecache.py", line 47, in getlines
return updatecache(filename, module_globals)
File "/usr/lib/python3.8/linecache.py", line 137, in updatecache
lines = fp.readlines()
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xca in position 699: invalid continuation byte
Traceback (most recent call last):
File "../../build/lite/build_ext_components.py", line 64, in <module>
sys.exit(main())
File "../../build/lite/build_ext_components.py", line 58, in main
cmd_exec(args.command)
File "../../build/lite/build_ext_components.py", line 32, in cmd_exec
raise Exception("{} failed, return code is {}".format(cmd, ret_code))
Exception: ['sh', 'hm_build.sh'] failed, return code is 1
ninja: build stopped: subcommand failed.
you can check build log in /home/ryc/code/out/wifiiot/build.log
/home/ryc/ninja/ninja -w dupbuild=warn -C /home/ryc/code/out/wifiiot failed, return code is 1
usage:
python build.py ipcamera_hi3516dv300
python build.py ipcamera_hi3518ev300
python build.py wifiiot
这个错误出在哪里,该咋解决啊.....求求大佬帮助一下....
解决了吗,我也报这个错