import failure after fresh install: imsave from scipy.misc is removed from scipy 1.3.0
Hi there,
imsave from scipy.misc has been deprecated and finally removed in scipy 1.3.0. (https://github.com/scipy/scipy/releases)
The following import fails after a fresh install:
https://gitext.gfz-potsdam.de/gts2/gts2_client/blob/master/gts2_client/gts2_client.py#L26
with the message: ImportError: cannot import name 'imsave' from 'scipy.misc' (/opt/conda/lib/python3.7/site-packages/scipy/misc/init.py)
The install requirements do not contain any version numbers so the latest scipy is installed:
https://gitext.gfz-potsdam.de/gts2/gts2_client/blob/master/setup.py https://gitext.gfz-potsdam.de/gts2/gts2_client/blob/master/gts2_client_conda_install.yml
This could be fixed by either of the following two solutions:
- force installation of scipy version < 1.3.0
- find a replacement for imsave
I think that the later would be better as the internet is full with problems concerning pil/pillow providing the function imsave to scipy e.g.: https://github.com/ContinuumIO/anaconda-issues/issues/147
Regards,
Niklas