Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • gts2_client gts2_client
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gts2gts2
  • gts2_clientgts2_client
  • Issues
  • #25
Closed
Open
Issue created Aug 28, 2019 by Niklas Keck@niklas.keck_at_agroscience.rlp.deContributor

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

Edited Aug 28, 2019 by Niklas Keck
Assignee
Assign to
Time tracking