2
在Windows 10使用Git的Bash如何在Windows中使用git bash设置python路径?
Python版本:2.7.12
当运行pip
,它表明:
$ pip
bash: /c/cygwin/bin/pip: /usr/bin/python2.7: bad interpreter: No such file or directory
如何找到点子正确的蟒蛇路径?
$ which python
/c/cygwin/bin/python
当你输入'$ which python'时,你会看到什么? – JacobIRR
啊,这个重复,据我所知:http://stackoverflow.com/questions/31768128/pip-installation-usr-local-opt-python-bin-python2-7-bad-interpreter-no-such -f – JacobIRR
[pip安装/usr/local/opt/python/bin/python2.7:糟糕的解释器:没有这样的文件或目录]可能的重复(http://stackoverflow.com/questions/31768128/pip-installation- usr-local-opt-python-bin-python2-7-bad-interpreter-no-such-f) – JacobIRR