参照:https://github.com/coreemu/core
python版本要求3.7以上,anaconda安装完3.7后,先
sudo update-alternatives --install /usr/bin/python3 python3 /home/rz/anaconda3/envs/py37/bin/python3.7 5
sudo update-alternatives --install /usr/bin/python python /home/rz/anaconda3/envs/py37/bin/python3.7 5
sudo update-alternatives --config python
sudo update-alternatives --config python3
然后.bashrc添加:
export PYTHONPATH="/home/rz/anaconda3/envs/py37/lib/python3.7/site-packages:$PYTHONPATH"
配置为3.7的环境。
在执行inv install时,要求下载很多包。
直接pip下载即可