首先,一般的ubuntu系统都会默认装python版本,为2和3版本,但由于我运行的caffe需要在python2版本下,而spyder也是在python2版本,故使用命令:
$sudo apt-get install python3-pyqt5 # for python3
or
$sudo apt-get install python-pyqt5 # for python2
首先,一般的ubuntu系统都会默认装python版本,为2和3版本,但由于我运行的caffe需要在python2版本下,而spyder也是在python2版本,故使用命令:
$sudo apt-get install python3-pyqt5 # for python3
or
$sudo apt-get install python-pyqt5 # for python2