Ubuntu下搭建鸿蒙开发编译环境
一、安装Python环境
sudo apt-get install python3
![](https://i-blog.csdnimg.cn/blog_migrate/9db8f921572b807d09cb8d56fb3b7a01.png)
把python默认指向python3
sudo rm python
sudo ln -s /usr/bin/python3.8 /usr/bin/python
![](https://i-blog.csdnimg.cn/blog_migrate/e48d8f08dc5f850d39699c1d7ab4765e.png)
二、安装pip3环境
sudo apt-get install python3-pip
安装相关的依赖库
sudo pip3 install kconfiglib
sudo pip3 install pycryptodome
sudo pip3 install six --upgrade --ignore-installed six
sudo pip3 install ecdsa
python -m pip install launchpadlib
三、安装gn <