Why I can't import cursession?

I tried from bokeh.plotting and from bokeh.io
and neither of them can work.

I got error:

Import Error:cannot import name cursession

I want to use cursession.store_objects(plot)

I don’t remember seeing cursession. Where did u see it mentioned?

Sarah Bird
[email protected]

···

On Jun 4, 2016, at 11:42 PM, Qiwei Peng [email protected] wrote:

I tried from bokeh.plotting and from bokeh.io
and neither of them can work.

I got error:

Import Error:cannot import name cursession

I want to use cursession.store_objects(plot)

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/669e4ea3-4b12-4fe7-9702-8840456fa333%40continuum.io.

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

Possibly in older docs? e.g. http://bokeh.pydata.org/en/0.10.0/docs/user_guide/server.html#streaming-data-with-the-server

Qiwei, this is the most recent documentation on how to do things that previously had to be done using cursession():

http://bokeh.pydata.org/en/latest/docs/user_guide/server.html#building-bokeh-applications

Hopefully this is helpful?

-Peter

···

On Sun, Jun 5, 2016 at 2:05 AM, Sarah Bird [email protected] wrote:

I don’t remember seeing cursession. Where did u see it mentioned?

Sarah Bird
[email protected]

On Jun 4, 2016, at 11:42 PM, Qiwei Peng [email protected] wrote:

I tried from bokeh.plotting and from bokeh.io
and neither of them can work.

I got error:

Import Error:cannot import name cursession

I want to use cursession.store_objects(plot)

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/669e4ea3-4b12-4fe7-9702-8840456fa333%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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/5E1BADE1-E703-477F-B1E7-76BCA59AF81B%40continuum.io.

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

Peter Wang

CTO, Co-founder

I saw it in stack overflow , some one wrote it.

在 2016年6月5日星期日 UTC+8下午3:05:23,Sarah Bird写道:

···

I don’t remember seeing cursession. Where did u see it mentioned?

Sarah Bird
[email protected]

On Jun 4, 2016, at 11:42 PM, Qiwei Peng [email protected] wrote:

I tried from bokeh.plotting and from bokeh.io
and neither of them can work.

I got error:

Import Error:cannot import name cursession

I want to use cursession.store_objects(plot)

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/669e4ea3-4b12-4fe7-9702-8840456fa333%40continuum.io.

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

Thank you very much, it’s really helpful.

在 2016年6月5日星期日 UTC+8下午3:27:17,pwang写道:

···

Possibly in older docs? e.g. http://bokeh.pydata.org/en/0.10.0/docs/user_guide/server.html#streaming-data-with-the-server

Qiwei, this is the most recent documentation on how to do things that previously had to be done using cursession():

http://bokeh.pydata.org/en/latest/docs/user_guide/server.html#building-bokeh-applications

Hopefully this is helpful?

-Peter

On Sun, Jun 5, 2016 at 2:05 AM, Sarah Bird [email protected] wrote:

I don’t remember seeing cursession. Where did u see it mentioned?

Sarah Bird
[email protected]

On Jun 4, 2016, at 11:42 PM, Qiwei Peng [email protected] wrote:

I tried from bokeh.plotting and from bokeh.io
and neither of them can work.

I got error:

Import Error:cannot import name cursession

I want to use cursession.store_objects(plot)

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/669e4ea3-4b12-4fe7-9702-8840456fa333%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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/5E1BADE1-E703-477F-B1E7-76BCA59AF81B%40continuum.io.

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


Peter Wang

CTO, Co-founder

Thanks for letting us
know the source.

I’m not sure how best to deal with out-of-date StackOverflow posts.

Glad you fou nd the new
docs!

···

On 6/6/16 7:22 AM, Qiwei Peng wrote:

I saw it in stack overflow , some one wrote it.

    在 2016年6月5日星期日 UTC+8下午3:05:23,Sarah Bird写道:
          I don't remember seeing cursession. Where did u see it

mentioned?

          Sarah Bird

[email protected]

          On Jun 4, 2016, at 11:42 PM, Qiwei Peng <              >

wrote:

I tried from bokeh.plotting and from bokeh.io
and neither of them can work.

I got error:

Import Error:cannot import name cursession

I want to use cursession.store_objects(plot)

            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 [email protected].

            To post to this group, send email to                 .

To view this discussion on the web visit

  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 [email protected].

  To post to this group, send email to [email protected]

  To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/9e313aa2-433b-4870-aef6-2cfcecf688a6%40continuum.io?utm_medium=email&utm_source=footer)      .

For more options, visit .


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)

[email protected]

[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/669e4ea3-4b12-4fe7-9702-8840456fa333%40continuum.io.

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

          [https://groups.google.com/a/continuum.io/d/msgid/bokeh/9e313aa2-433b-4870-aef6-2cfcecf688a6%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/9e313aa2-433b-4870-aef6-2cfcecf688a6%40continuum.io)

https://groups.google.com/a/continuum.io/d/optout