================================================
1. CMAKE的安装:
https://www.cnblogs.com/devilmaycry812839668/p/14943981.html
2. bazel的安装:
https://www.cnblogs.com/devilmaycry812839668/p/16282270.html
安装好bazel后需要对.bazelrc文件进行配置,具体见:
bazel编译报错:absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported."
3. python3.7的源码安装:
https://www.cnblogs.com/devilmaycry812839668/p/16281134.html
需要注意的是与上面教程中不同,我们需要checkout的版本为3.7。(因为DeepMind Lab只支持python3.5,python3.6,python3.7,考虑尽可能高的python版本,因此选择python3.7)
至于为什么不使用anaconda创建python环境呢,参见:
为python编译C++模块时一定要注意的事情—————不要在anaconda环境下使用cmake来编译C++扩展模块!!!
git checkout 3.7
================================================
标签:www,python,Ubuntu22.04,C++,html,Lab,DeepMind,安装 From: https://www.cnblogs.com/devilmaycry812839668/p/16750126.html