Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean environment.yml #102

Open
bartvanosnabrugge opened this issue Oct 8, 2021 · 2 comments
Open

clean environment.yml #102

bartvanosnabrugge opened this issue Oct 8, 2021 · 2 comments

Comments

@bartvanosnabrugge
Copy link
Collaborator

Installation with conda env create -f environment.yml failed on Mac:

Solving environment: failed
ResolvePackageNotFound:

  • numpy==1.20.2=py38h09042cb_0
  • qtlocation==5.12.9=ha925a31_0
  • intel-openmp==2021.2.0=h57928b3_616
  • libxslt==1.1.33=h65864e5_2
  • (many more packages)

Currently the environment.yml is an exact copy of the used environment. It would be more user friendly

  • if the environment.yml only lists the top dependencies, and let conda handle the dependencies of packages.
  • only specific package versions are listed, when it is assessed that there is a problem with the latests
@bartvanosnabrugge
Copy link
Collaborator Author

see also for example: https://github.com/jamespreed/conda-minify

@wknoben
Copy link
Collaborator

wknoben commented Oct 8, 2021

I see. For the moment I prefer the strict version list because this is a more correct record of how model setup was done. We have seen quite large differences in outcomes solely related to different GDAL versions so I am reluctant to let go of the exact version specification. May need a container solution to transfer environments to different machines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants