打开cmd,依次输入以下命令行:
>>> python
>>> import sys
>>> path=sys.executable
>>> print(path)
输出:
C:\Anaconda3\python.exe
注意,如果你用到是python2.7,则将print(path)
改为print path
打开cmd,依次输入以下命令行:
>>> python
>>> import sys
>>> path=sys.executable
>>> print(path)
输出:
C:\Anaconda3\python.exe
注意,如果你用到是python2.7,则将print(path)
改为print path