☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Error: from bokeh import mpl

Community Support
xiaowei.w.zhang
xiaowei.w.zhang

Just installed bokeh 0.5 but experienced the following error.

from bokeh import mpl

yields

···

ImportError Traceback (most recent call last)

in ()

1 from ggplot import *

----> 2 from bokeh import mpl

  3 import matplotlib.pyplot as plt

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mpl.py in ()

 22 from .glyphs import (Asterisk, Circle, Cross, Diamond, InvertedTriangle, Line,

 23                      MultiLine, Patches, Square, Text, Triangle, Xmarker)

—> 24 from .mplexporter.exporter import Exporter

 25 from .mplexporter.renderers import Renderer

 26 from .mpl_helpers import (convert_dashes, delete_last_col, get_props_cycled,

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mplexporter/init.py in ()

----> 1 from .renderers import Renderer

  2 from .exporter import Exporter

ImportError: No module named renderers

⌁   Link to post
Damian_Avila
Damian_Avila

Can you tell us a little bit how did you install bokeh?

···

On Thu, Jul 10, 2014 at 12:33 AM, xiaowei.w.zhang@gmail.com wrote:

Just installed bokeh 0.5 but experienced the following error.

from bokeh import mpl

yields


ImportError Traceback (most recent call last)

in ()

1 from ggplot import *

----> 2 from bokeh import mpl

  3 import matplotlib.pyplot as plt

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mpl.py in ()

 22 from .glyphs import (Asterisk, Circle, Cross, Diamond, InvertedTriangle, Line,
 23                      MultiLine, Patches, Square, Text, Triangle, Xmarker)

—> 24 from .mplexporter.exporter import Exporter

 25 from .mplexporter.renderers import Renderer
 26 from .mpl_helpers import (convert_dashes, delete_last_col, get_props_cycled,

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mplexporter/init.py in ()

----> 1 from .renderers import Renderer

  2 from .exporter import Exporter

ImportError: No module named renderers

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/918c9eca-bdf0-4737-bafe-2a3e995f827a%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
xiaowei.w.zhang
xiaowei.w.zhang

I download the tarball and install it manually

在 2014年7月10日星期四UTC+8下午12时25分54秒,Damian Avila写道:

···

Can you tell us a little bit how did you install bokeh?

On Thu, Jul 10, 2014 at 12:33 AM, xiaowei...@gmail.com wrote:

Just installed bokeh 0.5 but experienced the following error.

from bokeh import mpl

yields


ImportError Traceback (most recent call last)

in ()

1 from ggplot import *

----> 2 from bokeh import mpl

  3 import matplotlib.pyplot as plt

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mpl.py in ()

 22 from .glyphs import (Asterisk, Circle, Cross, Diamond, InvertedTriangle, Line,
 23                      MultiLine, Patches, Square, Text, Triangle, Xmarker)

—> 24 from .mplexporter.exporter import Exporter

 25 from .mplexporter.renderers import Renderer
 26 from .mpl_helpers import (convert_dashes, delete_last_col, get_props_cycled,

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mplexporter/init.py in ()

----> 1 from .renderers import Renderer

  2 from .exporter import Exporter

ImportError: No module named renderers

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/918c9eca-bdf0-4737-bafe-2a3e995f827a%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
Bryan
Bryan

Hi xaowei,

Which tarball (what URL?) and how do you mean “manually”? You ran “setup.py install”?

Bryan

···

On Jul 10, 2014, at 4:27, xiaowei.w.zhang@gmail.com wrote:

I download the tarball and install it manually

在 2014年7月10日星期四UTC+8下午12时25分54秒,Damian Avila写道:

Can you tell us a little bit how did you install bokeh?

On Thu, Jul 10, 2014 at 12:33 AM, xiaowei...@gmail.com wrote:

Just installed bokeh 0.5 but experienced the following error.

from bokeh import mpl

yields


ImportError Traceback (most recent call last)

in ()

1 from ggplot import *

----> 2 from bokeh import mpl

  3 import matplotlib.pyplot as plt

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mpl.py in ()

 22 from .glyphs import (Asterisk, Circle, Cross, Diamond, InvertedTriangle, Line,
 23                      MultiLine, Patches, Square, Text, Triangle, Xmarker)

—> 24 from .mplexporter.exporter import Exporter

 25 from .mplexporter.renderers import Renderer
 26 from .mpl_helpers import (convert_dashes, delete_last_col, get_props_cycled,

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mplexporter/init.py in ()

----> 1 from .renderers import Renderer

  2 from .exporter import Exporter

ImportError: No module named renderers

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/918c9eca-bdf0-4737-bafe-2a3e995f827a%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/57f0625f-ba76-4431-913c-b9c41ee65ee4%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
xiaowei.w.zhang
xiaowei.w.zhang

Bryan,

The one from pypi. Yes, I ran “setup.py install”

I now switched to Anaconda installation of python (used to be Enthought/Canopy) and update bokeh to 0.5. The error still exists.

Xiaowei

在 2014年7月10日星期四UTC+8下午7时20分06秒,Bryan Van de ven写道:

···

Hi xaowei,

Which tarball (what URL?) and how do you mean “manually”? You ran “setup.py install”?

Bryan

On Jul 10, 2014, at 4:27, xiaowei...@gmail.com wrote:

Can you tell us a little bit how did you install bokeh?

On Thu, Jul 10, 2014 at 12:33 AM, xiaowei...@gmail.com wrote:

Just installed bokeh 0.5 but experienced the following error.

from bokeh import mpl

yields


ImportError Traceback (most recent call last)

in ()

1 from ggplot import *

----> 2 from bokeh import mpl

  3 import matplotlib.pyplot as plt

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mpl.py in ()

 22 from .glyphs import (Asterisk, Circle, Cross, Diamond, InvertedTriangle, Line,
 23                      MultiLine, Patches, Square, Text, Triangle, Xmarker)

—> 24 from .mplexporter.exporter import Exporter

 25 from .mplexporter.renderers import Renderer
 26 from .mpl_helpers import (convert_dashes, delete_last_col, get_props_cycled,

/Users/zhangxiaowei/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bokeh/mplexporter/init.py in ()

----> 1 from .renderers import Renderer

  2 from .exporter import Exporter

ImportError: No module named renderers

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/918c9eca-bdf0-4737-bafe-2a3e995f827a%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

I download the tarball and install it manually

在 2014年7月10日星期四UTC+8下午12时25分54秒,Damian Avila写道:

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/57f0625f-ba76-4431-913c-b9c41ee65ee4%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
Bryan
Bryan

xiaowei,

I can reproduce this, it looks like a problem with our packaging. Thanks for bringing this to our attention. We will put a dev build up on binstar that you can download easily later today, and will have a point release in a few weeks as well.

I'll message the list when the dev build is ready.

Bryan

⌁   Link to post
xiaowei.w.zhang
xiaowei.w.zhang

Glad to help

Xiaowei

在 2014年7月10日星期四UTC+8下午10时19分23秒,Bryan Van de ven写道:

···

xiaowei,

I can reproduce this, it looks like a problem with our packaging. Thanks for bringing this to our attention. We will put a dev build up on binstar that you can download easily later today, and will have a point release in a few weeks as well.

I’ll message the list when the dev build is ready.

Bryan

⌁   Link to post
Bryan
Bryan

Xiaowei,

Can you try installing from the binstar dev channel for bokeh:

  conda install -c https://conda.binstar.org/bokeh/channel/dev bokeh

Bryan

···

On Jul 10, 2014, at 9:29 AM, xiaowei.w.zhang@gmail.com wrote:

Glad to help

Xiaowei

在 2014年7月10日星期四UTC+8下午10时19分23秒,Bryan Van de ven写道:
xiaowei,

I can reproduce this, it looks like a problem with our packaging. Thanks for bringing this to our attention. We will put a dev build up on binstar that you can download easily later today, and will have a point release in a few weeks as well.

I'll message the list when the dev build is ready.

Bryan

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/17b409d0-99eb-41ea-969c-3eca0600f77e%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
xiaowei.w.zhang
xiaowei.w.zhang

Yes, it works now! Thanks, Bryan.

Xiaowei

在 2014年7月10日星期四UTC+8下午11时48分20秒,Bryan Van de ven写道:

···

Xiaowei,

Can you try installing from the binstar dev channel for bokeh:

    conda install -c [https://conda.binstar.org/bokeh/channel/dev](https://conda.binstar.org/bokeh/channel/dev) bokeh

Bryan

On Jul 10, 2014, at 9:29 AM, xiaowei...@gmail.com wrote:

Glad to help

Xiaowei

在 2014年7月10日星期四UTC+8下午10时19分23秒,Bryan Van de ven写道:

xiaowei,

I can reproduce this, it looks like a problem with our packaging. Thanks for bringing this to our attention. We will put a dev build up on binstar that you can download easily later today, and will have a point release in a few weeks as well.

I’ll message the list when the dev build is ready.

Bryan

–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/17b409d0-99eb-41ea-969c-3eca0600f77e%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled