Skip to content

conda env create errors #22

Closed
Closed

Description

@mschrimpf

Getting the following errors when creating conda environment with conda env create -f environment.yml:

ResolvePackageNotFound:
  - netcdf4==1.2.4=np113py36_1

After removing that package:

UnsatisfiableError: The following specifications were found to be in conflict:
  - libnetcdf==4.4.1=1 -> jpeg=9
  - qt==5.6.2=2

Activity

  1. changed the title [-]ResolvePackageNotFound: netcdf4==1.2.4=np113py36_1[/-] [+]conda env create errors[/+] on Mar 15, 2018
  2. jjpr-mit commented on Mar 16, 2018

    @jjpr-mit

    I think the environment.yml that's automatically generated is too specific about versions. Could you try removing the version info from that line, i.e. just - netcdf4 and try again?

  3. mschrimpf commented on Mar 16, 2018

    @mschrimpf
    MemberAuthor

    I'll make a more minimal environment.yml - disadvantage being that we have to keep checking whether all the versions still work nice together. Might be worth setting up continuous integration (e.g. travis) at some point.

  4. jjpr-mit commented on Mar 16, 2018

    @jjpr-mit

    I think the best practice is to start with the environment.yml that conda produces, and then prune it heavily. I tried that with an environment I use for mkgu data packaging, and it finally worked well after I'd trimmed off almost all the version information, and cut out more than half of the dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions