执行 node.js make的时候 出现/usr/bin/env: python2: No such file or directory
后来百度了在Stack Overflow这个大牛社区找到了答案
http://stackoverflow.com/questions/11390206/usr-bin-env-python2-no-such-file-or-directory
后来按照 最后面的方案 apt-get --reinstall install python-minimal 解决了问题 ,但是因为都是英文 在线翻译又 不太准确 所以请大神指点一下 倒是是因为python2 没安装 还是缺少库什么的。
还有apt-get --reinstall 这条命令 为什么一般百度出来的 都没这个reinstall 这条指令 还有python-minimal这个是什么?
求答案啊!!!!!!!求答案啊!!!!!!!求答案啊!!!!!!!求答案啊!!!!!!!
To put it simply, python is installed incorrectly and requires you to reinstall it
It may also be caused by incorrect installation due to conflicts with other software
In short, reinstalling can usually solve the problem
It seems to be a problem with python env. I haven’t used its virtual environment much. However, you can find it in your running file, write "/usr/bin/env: python2" in the file header, and then replace it with the actual path of python2 on the native machine.
Upload the soft link, if python is installed