1:ImportError: libGL.so.1: cannot open shared object file: No such file or directory
sudo apt update
sudo apt install libgl1-mesa-glx
2:NameError: name 'batch' is not defined
关闭ipython,重新启动即可
sudo apt update
sudo apt install libgl1-mesa-glx
关闭ipython,重新启动即可