当我在Spyder中的ipython终端中输入以下内容时,我得到以下信息:
import sys
sys.path
Out[5]:
[",'/Users/Bigboat', '/Users'/Bigboat/anaconda3/lib/python27.zip',
'/Users/Bigboat/anaconda3/lib/python2.7',
'/Users/Bigboat/anaconda3/lib/python2.7/plat-darwin',
'/Users/Bigboat/anaconda3/lib/python2.7/plat-mac',
'/Users/Bigboat/anaconda3/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/Bigboat/anaconda3/lib/python2.7/lib-tk',
'/Users/Bigboat/anaconda3/lib/python2.7/lib-old',
'/Users/Bigboat/anaconda3/lib/python2.7/lib-dynload',
'/Users/Bigboat/anaconda3/lib/python2.7/site-packages',
'/Users/Bigboat/anaconda3/lib/python2.7/site-packages/aeosa',
'/Users/Bigboat/anaconda3/lib/python2.7/site-packages',
'/Users/Bigboat/anaconda3/lib/python2.7/site-packages/sortedcontainers-1.4.4-py2.7.egg',
'/Users/Bigboat/anaconda3/lib/python2.7/site-packages/IPython/extensions',
'/Users/Bigboat/.ipython']
当我在终端中输入python
时,我会得到
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 13:10:39)
但是我已经使用自制软件安装了python3,我可以在终端中使用python3等。路径是否有问题?