Fastai in Windows + notebook (all good) vs console (library problem)

Hello everyone,

I am trying to use the library and notebooks in Windows 10, and with the notebooks it’s working more or less good (sometimes a minor correction, but so far so good).

But when I make a python script with the same code and try to run it from the console (in the same anaconda environment used by the notebook) I get this error:
Exception: Error:libsixelis needed. See https://github.com/saitoha/libsixel

If I do import fastai and then fastai.__version__, it prints in the notebook ‘1.0.48’, but in the console ‘1.0.48.dev0’.

I checked and the only version installed in the environment is:

# Name                    Version                   Build  Channel
fastai                    1.0.48                    <pip>

I have been searching about libsixel and installed a python wrapper (looking here https://github.com/fastai/fastai/issues/1798), without success.

So I would to understand why it all works in the notebook with the same environment, and why somehow it chooses the dev0 version of the library from the console… does anyone know about it?

Thanks a lot in advance!

1 Like