catkin_make莫名报错"file" has no attribute of push(pop)

catkin_make突然莫名报错"file" has no attribute of push(pop),追踪到的都是/usr/bin/empy文件,找了很久没找到解决方案,重装ros都不见效,最后好像是缺少python2.7的依赖,还是需要升级什么的,采用下面命令莫名其妙解决:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install  python2.7-dev libpython2.7-dev python2.7 libpython2.7 libpython2.7-stdlib python2.7-minimal libpython2.7-minimal

catkin_make莫名报错

成功。

你可能感兴趣的:(Linux,ROS)