Code Monkey home page Code Monkey logo

Comments (5)

dnerini avatar dnerini commented on May 29, 2024

We need to revise the environment.yml before the next release.

For example, now jsmin and attrdict are listed, but these two packages are not available in the anaconda distribution and nees to be installed with pip. Hence, the current version of the environment.yml cannot be used with conda env create -f environment.yml.

from pysteps.

aperezhortal avatar aperezhortal commented on May 29, 2024

I was testing pysteps in a minimal environment, with out the optional dependencies listed below:

  • opencv-python_ (for the Lucas-Kanade optical flow)
  • pillow_ (for importing gif data)
  • pyproj_ (for cartographic transformations and needed to import data)

The package functionality is quite minimal without these dependencies and the examples scripts provided can not run with out them.

Since many of them are already in the environment.yml, wouldn't be better to consider them as dependencies instead as optional packages? By doing so, the full functionality is available after the installation.

This is not the case with **dask, toolz and pyfftw **, they are indeed optional, since they help to improve the computational efficiency.

from pysteps.

dnerini avatar dnerini commented on May 29, 2024

OK, good idea, I've now listed opencv, pillow and pyproj as main dependencies (commit f157da9).

from pysteps.

aperezhortal avatar aperezhortal commented on May 29, 2024

Going back to the @pkars suggestion about the version numbers. The environment.yml file is used to create a the pysteps environment. When doing so, the anaconda installer will resolve the dependencies of the different packages listed in the environment.yml file and it will it install the latest versions available in anaconda channels that are configured.

from pysteps.

dnerini avatar dnerini commented on May 29, 2024

@aperezhortal 's comment seems to close this issue.

from pysteps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.