0
votes

I have tried to install image package but it returned error:

pkg install image-2.4.1.tar.gz pkg: unable to find the command shell. error: called from 'shell' in file C:\Octave\Octave-4.0.0\share\octave\4.0.0\m\pkg\private\shell.m near line 42, column 7

How can I solve it?

1
not sure about the particular error, but does pkg install image -forge not work for you? - Tasos Papastylianou
Thanks for suggestion. "-forge" is an option variable to install package online, which should be no different to local. By the way, I have already tried it but came with same error. - 2907

1 Answers

1
votes

Octave is trying to execute "sh.exe", but cannot. This exe may come by cygwin or some other tool to allow the execution of Unix style commands.