No module named 'tifffile._tifffile'


#1

Hi !

When I run a sentinelhub script, I have this warning:
/usr/local/lib/python3.6/dist-packages/tifffile/tifffile.py:8211: UserWarning: No module named 'tifffile._tifffile' Functionality might be degraded or be slow.

warnings.warn('%s%s' % (e, warn))

How can I solve it ?

Thanks in advance


#2

Hi Timothee,

Which versions of sentinelhub, numpy and tifffile are you using?

It seems to be an issue with the .c extension of tifffile, which should get installed with numpy. See this issue.

I would suggest uninstalling tifffile and re-installing it making sure numpy is installed as well.

Let us know if that helps.

Devis


#3

Great ! the issue on GitHub gave me the right solution !
Thank you !