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

Namespace package conflict with pftools #28

Open
vineetbansal opened this issue Mar 15, 2021 · 0 comments
Open

Namespace package conflict with pftools #28

vineetbansal opened this issue Mar 15, 2021 · 0 comments

Comments

@vineetbansal
Copy link
Contributor

vineetbansal commented Mar 15, 2021

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.

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

No branches or pull requests

1 participant