module named tile_providers missing from Bokeh?
See original GitHub issueHi
I am running a datashader demo developed by Continum Analytics here: c
I am running the demo, but after loading BokehJS, it seems the module named tile_providers doesn’t exist anymore?
Please advise
Thanks TJ
Notebook: module named tile_providers
I’m now at the 3rd code segment in the Jupyter Notebook after receiving:
“BokehJS successfully loaded.”
When I run the following code I received another error:
Code:
from bokeh.tile_providers import STAMEN_TERRAIN
samples = df.sample(n=1000)
p = base_plot()
p.add_tile(STAMEN_TERRAIN)
p.circle(x=samples['dropoff_x'], y=samples['dropoff_y'], **options)
show(p)
Error:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-5-f4a971eece60> in <module>()
----> 1 from bokeh.tile_providers import STAMEN_TERRAIN
2
3 samples = df.sample(n=1000)
4 p = base_plot()
5 p.add_tile(STAMEN_TERRAIN)
ImportError: No module named tile_providers
Thanks
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
module named tile_providers missing from Bokeh? #72 - GitHub
I am running the demo, but after loading BokehJS, it seems the module named tile_providers doesn't exist anymore? Please advise. Thanks TJ.
Read more >bokeh.tile_providers — Bokeh 3.0.3 Documentation
Pre-configured tile sources for common third party tile services. get_provider, Use this function to retrieve an instance of a predefined tile provider.
Read more >ModuleNotFoundError: No module named 'bokeh'
Your question seems to be quite general. If it is related to set up a virtual environment you can do the following using...
Read more >Releases — HoloViews v1.15.3
round usage (#5095). Remove dependency on recent Panel release by importing bokeh version from util module (#5103). Add missing bounds for the cache_size ......
Read more >Creating an interactive map in Python using Bokeh and pandas
from bokeh.io import output_notebook, show, output_file from bokeh.plotting import figure, ColumnDataSource from bokeh.tile_providers import ...
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
Thanks! I deleted all my bokeh folders and re-installed Bokeh.
I also had to run conda install -c https://conda.anaconda.org/anaconda ipykernel
@tonyj4102 that function exists and has existed in Bokeh for a very long time:
https://github.com/bokeh/bokeh/blob/master/bokeh/util/serialization.py#L48
There is definitely something broken with your Bokeh installation. I would suggest creating an entirely new conda environment to test with.