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

fill not found in new version #21

Open
chongchong721 opened this issue Nov 26, 2023 · 1 comment
Open

fill not found in new version #21

chongchong721 opened this issue Nov 26, 2023 · 1 comment

Comments

@chongchong721
Copy link

Hi, just noticed that this library is updated to a modernized version.

If I install the new version using python setup.py install, I can not find the fill function if I import from gridfill import fill

However this works if I use the old version.(c0ae1f9). Do you know why this happens?

@ajdawson
Copy link
Owner

Could be a couple of things, hard to know without further details on how exactly you are installing and running. For me, in a fresh virtualenv python setup.py install does not work without first manually installing dependencies, whereas pip install . does the job. I can then do from gridfill import fill provided I am not in the gridfill source directory (because the local gridfill directory take precedence over the installed package, and there is no compiled cython module in there). If you need the package to work from the source directory (e.g. for development) then you need to follow the instructions in the readme file, that is python setup.py build_ext --inplace, but this really should not be needed unless developing locally.

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