edgebundle icon indicating copy to clipboard operation
edgebundle copied to clipboard

Error: datashader.bundling

Open fcorowe opened this issue 10 months ago • 5 comments

Thanks for the package. The maps look awesome.

I am having a problem running the code provided on the website. Specifically I am struggling to run the following line:

hbundle <- edge_bundle_hammer(g, xy, bw = 0.7, decay = 0.5)

It returns this error: Error: Python module datashader.bundling was not found.

I checked I have this datashader installed and it is:

(flowmap) MacBook-Pro-5:flow-map_edgebundle franciscorowe$ conda list
# packages in environment at /Users/franciscorowe/opt/anaconda3/envs/flowmap:
#
# Name                    Version                   Build  Channel
brotli                    1.0.9                    pypi_0    pypi
brotli-python             1.0.9           py311h814d153_9    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
ca-certificates           2023.7.22            h8857fd0_0    conda-forge
certifi                   2023.7.22          pyhd8ed1ab_0    conda-forge
charset-normalizer        3.2.0              pyhd8ed1ab_0    conda-forge
click                     8.1.6           unix_pyh707e725_0    conda-forge
cloudpickle               2.2.1              pyhd8ed1ab_0    conda-forge
colorcet                  3.0.1              pyhd8ed1ab_0    conda-forge
dask-core                 2023.8.0           pyhd8ed1ab_0    conda-forge
**datashader**               0.15.2             pyhd8ed1ab_0    conda-forge
....

Yet, I get the same error when I run the line of code above.

Any advice on this issue would be appreciated, or general advice on how to get the package working.

My computational set up is:

R version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)

fcorowe avatar Aug 17 '23 22:08 fcorowe