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

test_clusters.py throws import error #211

Closed
sjsrey opened this issue Apr 7, 2020 · 1 comment
Closed

test_clusters.py throws import error #211

sjsrey opened this issue Apr 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@sjsrey
Copy link
Collaborator

sjsrey commented Apr 7, 2020

ImportError while importing test module '/home/serge/Dropbox/g/geosnap/git/geosnap/geosnap/tests/test_clusters.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
geosnap/tests/test_clusters.py:1: in <module>
    from geosnap import Community, io
geosnap/__init__.py:33: in <module>
    from . import harmonize
geosnap/harmonize/__init__.py:1: in <module>
    from .harmonize import harmonize
geosnap/harmonize/harmonize.py:9: in <module>
    from tobler.area_weighted import _slow_area_interpolate
E   ImportError: cannot import name '_slow_area_interpolate' from 'tobler.area_weighted' (/home/serge/anaconda3/envs/geosnap/lib/python3.7/site-packages/tobler/area_weighted.py)
@sjsrey sjsrey added the bug Something isn't working label Apr 7, 2020
@knaaptime
Copy link
Member

I cant replicate this. I think the issue is we need to pin tobler>=0.2.1

@sjsrey sjsrey closed this as completed Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants