当前位置:网站首页>Gym installation pit records

Gym installation pit records

2022-07-07 10:31:00 Old smile

gym Installation step pit record

Use pip install gym[all] install gym when box2d Installation failed , There will be Building wheel for box2d.py (setup.py) … error The problem of

Terminal display
error trying to exec ‘cc1plus’: execvp: There is no file or directory

This is a problem , There are two possibilities :

First of all , You did not install g++

second , Yours gcc Version and g++ Version does not match

terms of settlement : install gcc and g++ And some dependent packages

sudo apt-get install build-essential

sudo apt-get install g++

after pip install gym[all] success

原网站

版权声明
本文为[Old smile]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207070820562711.html