按照CORE在Github上的安装教程(https://github.com/coreemu/core)进行安装时,命令行输入inv install后遇到错误,protobuf requires Python '>=3.7' but the running Python is 3.6.9
安装grpcio-tools时protobuf需要3.7以上版本的python。此时不要头铁装python 3.7。如果装python 3.7,后续还会遇到无法避免的python版本问题。protobuf 4.21.0需要3.7以上的python,因此解决办法为降低protobuf版本,笔者自行安装了protobuf 3.5.1。
然后输入python3 -m pip install --upgrade pip来升级pip。这里参考了https://blog.csdn.net/LucyGill/article/details/125268665
之后自行安装grpcio-tools成功。
随后再输入inv install,core的安装就可以顺利过关。
接下来输入inv install-emane时提示缺少版本号,改为输入 inv install-emane v1.3.3即可通过。
按照CSDN上的博客EMANE安装与简单使用_柯西没科气的博客-CSDN博客安装时也有一个小坑,步骤1.3.8.下载 opentestpoint-probe-emane时要放在步骤1.3.7.的 opentestpoint目录下,否则会提示缺少packeage libotestpoint,无法用apt下载。