Skip to content

Issue with pyproject.toml #261

@stevehadd

Description

@stevehadd

I'm not entirely sure what the problem is, but I've gotten errors a few times in the last week or so when trying to install pyearthtools using
pip install -e . from the root dir of the repo, but it works OK if I instead use the command pip install -r requirements.txt.

The error i get seems to be around version mismatches. This is my output when I tried running this on ARE-NCI

Obtaining file:///home/005/sh7673/prog/pet_fork
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of pyearthtools to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement pyearthtools-data>=0.6.1 (from pyearthtools) (from versions: 0.2.0, 0.5.0, 0.5.1, 0.6.0)
ERROR: No matching distribution found for pyearthtools-data>=0.6.1

This came up for the first time when I tried running pyearthtools on Google Colab, where you need to install the library from git hub as follows:
pip install https://github.com/ACCESS-Community-Hub/PyEarthTools.git
and it failed with the same error message as above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions