运行错误出现/bin/sh: 1: -c: not found要怎么办?

sh/bash/dash/ksh/zsh等Shell脚本
回复
minjiexu
帖子: 3
注册时间: 2018-01-02 19:28
系统: windows

运行错误出现/bin/sh: 1: -c: not found要怎么办?

#1

帖子 minjiexu » 2018-01-02 19:31

运行错误出现/bin/sh: 1: -c: not found要怎么办
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 运行错误出现/bin/sh: 1: -c: not found要怎么办?

#2

帖子 poloshiao » 2018-01-02 21:04

http://blog.csdn.net/you19890102/articl ... s/70054746
ubuntu 下命令安装:
sudo apt install bc
解决问题。
minjiexu
帖子: 3
注册时间: 2018-01-02 19:28
系统: windows

Re: 运行错误出现/bin/sh: 1: -c: not found要怎么办?

#3

帖子 minjiexu » 2018-01-05 10:06

感谢!发现问题了,应该是因为没有装mpich而运行的脚本里面需要并行出现了这种错误
回复