question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

module named tile_providers missing from Bokeh?

See original GitHub issue

Hi

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:closed
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tonyj4102commented, Feb 18, 2016

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

1reaction
bryevdvcommented, Feb 18, 2016

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found