1 | initial version |
Please try this in Sage:
sage: from sage.features.imagemagick import ImageMagick
sage: ImageMagick().is_present()
If the convert
program is present and functional, it should return FeatureTestResult('imagemagick', True)
. Otherwise, maybe it will return a helpful error message. You could try the same with
sage: from sage.features.ffmpeg import FFmpeg
sage: FFmpeg().is_present()
It also would be good, within Sage, to evaluate os.getenv('PATH')
to see what Sage thinks PATH
is. I agree with @Sébastien that you shouldn't set PATH
in init.sage
.