我该怎么加 python2 到 PATH 是吗? python 工作正常,但是我调用 make 指向多个文件并调用 蟒蛇2 .
python2
PATH
python
make
蟒蛇2
C:\Users\andcy\$DETECTRON>python2 'python2' is not recognized as an internal or external command, operable program or batch file.
不幸的是,我对相关点的搜索给我带来了不适用的答案。例如,下面的so post只显示如何添加 蟒蛇 去那条路,不是 蟒蛇2 .
蟒蛇
Add âpython2â path to command line on Windows 7
make python2 DOSKEY
DOSKEY
DOSKEY python2=python $*
python2.cmd python.exe
python2.cmd
python.exe
@echo off "%~dp0\python.exe" %*
python2.exe