1: source: not found

ubuntu 运行python subprocess 出现/bin/sh: 1: source: not found 错误_python /bin/sh: 1: source: not found-CSDN博客

错误:

/bin/sh: 1: source: not found
运行 ls -l /bin/sh 后显示/bin/sh -> dash 

解决方案:

1、sudo  dpkg-reconfigure dash

2、在出现界面选择no

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

 

你可能感兴趣的:(linux,运维,服务器)