我需要在Octave中读取文件myFile.bmp
,但它无法正常工作。
我有:
当我运行imread('myFile.bmp')
时,我明白了:
octave:10> imread ("myFile.bmp")
error: imread: invalid image file: /usr/lib/x86_64-linux-gnu/octave/3.8.2/oct/x86_64-pc-linux-gnu/__magick_read__.oct: failed to load: /usr/lib/x86_64-linux-gnu/octave/3.8.2/oct/x86_64-pc-linux-gnu/__magick_read__.oct: undefined symbol: _ZN6Magick5ColorC1Ehhh
error: called from:
error: /usr/share/octave/3.8.2/m/image/private/__imread__.m at line 181, column 7
error: /usr/share/octave/3.8.2/m/image/private/imageIO.m at line 66, column 26
error: /usr/share/octave/3.8.2/m/image/imread.m at line 107, column 30
当我运行imread('myFile.bmp', 'Format', 'bmp')
时,我收到同样的错误。
答案 0 :(得分:1)
如果您安装了Ubuntu存储库中的所有内容,那么您可能会受到Ubuntu打包问题的影响。它在comment #6 of Ubuntu bug #1372202中有描述。
由于Ubuntu 15.04已经达到end of life,他们可能无法修复它。你可以: