最新版ubuntu22.04不可以安装tensorflow1.x版本,但是安装了最新版本的2.x不可以用 ,可以安装2.8.0版本的tensorflow。 pip3 install tensorflow=2.8.0