一般ubuntu下有三种python环境,1. 系统自带python2,3;在/usr/bin路径下;2. anaconda下安装的python;3. anaconda下创建的env环境
dsp@dsp-System-Product-Name:~/caffe-ssd$ whereis python
python: /usr/bin/python3.6m /usr/bin/python2.7-config /usr/bin/python2.7 /usr/bin/python3.6 /usr/bin/python3.6m-config
/usr/bin/python /usr/bin/python3.6-config /usr/lib/python3.7 /usr/lib/python2.7 /usr/lib/python3.6 /etc/python2.7
/etc/python3.6 /etc/python /usr/local/lib/python2.7 /usr/local/lib/python3.6 /usr/include/python3.6m /usr/include/python2.7
/usr/include/python3.6 /usr/share/python /home/dsp/anaconda3/bin/python3.6m /home/dsp/anaconda3/bin/python3.6
/home/dsp/anaconda3/bin/python3.6m-config /home/dsp/anaconda3/bin/python /home/dsp/anaconda3/bin/python3.6-config
/usr/share/man/man1/python.1.gz
dsp@dsp-System-Product-Name:~/caffe-ssd$ python
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018