300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > ubuntu 运行python subprocess 出现/bin/sh: 1: source: not found 错误

ubuntu 运行python subprocess 出现/bin/sh: 1: source: not found 错误

时间:2023-02-08 19:04:42

相关推荐

ubuntu 运行python subprocess 出现/bin/sh: 1: source: not found 错误

错误:

/bin/sh: 1: source: not found

运行ls -l /bin/sh后显示/bin/sh -> dash

解决方案:

1、sudodpkg-reconfigure dash

2、在出现界面选择no

3、再运行ls -l /bin/sh后显示/bin/sh -> bash

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。