ImportError: cannot import name 'XArrayInterface'
See original GitHub issueUnable to run import holoviews.operation.datashader as hd
without getting the following error
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-56-420559647be7> in <module>()
----> 1 import holoviews.operation.datashader as hd
2 import holoviews as hv
3 hv.extension("bokeh")
4 opts=dict()
5
~/programs/BlockSci/.env/lib/python3.5/site-packages/holoviews/operation/datashader.py in <module>()
25 from ..core import (Operation, Element, Dimension, NdOverlay,
26 CompositeOverlay, Dataset, Overlay)
---> 27 from ..core.data import PandasInterface, XArrayInterface
28 from ..core.sheetcoords import BoundingBox
29 from ..core.util import get_param_values, basestring, datetime_types, dt_to_int
ImportError: cannot import name 'XArrayInterface'
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
ImportError: cannot import name 'XArrayInterface' · Issue #2904
Unable to run import holoviews.operation.datashader as hd without getting the following error ...
Read more >What can I do about "ImportError: Cannot import name X" or ...
You have circular dependent imports. physics.py is imported from entity before class Ent is defined and physics tries to import entity that is...
Read more >How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >How to Fix : “ImportError: Cannot import name X” in Python?
You can solve the “ ImportError : Cannot import name X” Error by resolving the circular dependencies. You can do that either by...
Read more >How do I fix the ImportError: cannot import name 'delayed'?
I am using the LORAS package from pyloras for imbalanced learning, but it requires importing the delayed package. I used the pip.main() to ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I already want to split the
operation/datashader
module into a generic resampling module for the baseclasses and perhaps some simple downsampling operations and then keep just the datashader specific operations in the current module. In the process I can improve the imports to ensure we generate better error messages.How bizarre, would be great to figure out what the actual cause was but I’m glad it’s now working for you. Thanks for following up in any case.