ubuntu 运行python subprocess 出现/bin/sh: 1: source: not found 错误
生活随笔
收集整理的這篇文章主要介紹了
ubuntu 运行python subprocess 出现/bin/sh: 1: source: not found 错误
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
錯(cuò)誤:
/bin/sh: 1: source: not found運(yùn)行?ls -l /bin/sh?后顯示/bin/sh -> dash?
解決方案:
1、sudo??dpkg-reconfigure dash
2、在出現(xiàn)界面選擇no
3、再運(yùn)行l(wèi)s -l /bin/sh?后顯示/bin/sh -> bash
?
總結(jié)
以上是生活随笔為你收集整理的ubuntu 运行python subprocess 出现/bin/sh: 1: source: not found 错误的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 知识图谱学习笔记-PageRank
- 下一篇: Ubuntu18.04下安装MySQL