本文主要是介绍wsl启动程序异常-bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or direc,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
-
问题描述
通过VS Code在window上wsl界面运行程序,出现上述错误.
-bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or directory
-
解决方案
两种解决方案:
- 如果
/usr/bin/python3
存在,将/usr/bin
加入PATH
- 如果
/usr/bin/python3
不存在,创建软链接
- 如果
这篇关于wsl启动程序异常-bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or direc的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!