Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.
This repository was archived by the owner on May 20, 2024. It is now read-only.

Namespace package conflict with pftools #28

@vineetbansal

Description

@vineetbansal

It looks like there's a namespace conflict issue in the Subsetting code w.r.t pftools, since it uses the 'parflow' directory to install itself. This prevents its use along with pftools. A scenario in point:

- create a new conda environment and activate it.
- pip install pftools
- python -c "from parflow import Run" (works fine)
- pip install git+https://github.com/hydroframe/Subsetting.git
- python -c "from parflow import Run"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name 'Run' from 'parflow' (/home/vineetb/.conda/envs/subset/lib/python3.8/site-packages/parflow/__init__.py)

If I only install Subsetter (which in turn installs pftools itself), using:

pip install git+https://github.com/hydroframe/Subsetting.git

Then there's the same issue again.

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