bokeh.plotting not found

Hi All

I’m trying my first bokeh examples.
I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:
import numpy as np
import bokeh.plotting as bkp
from bokeh.plotting import output_notebook
import pandas as pd
output_notebook()

I get an error:


<details class='elided'>
<summary title='Show trimmed content'>&#183;&#183;&#183;</summary>

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-4afb539fa048> in <module>()
      1 import numpy as np
----> 2 import bokeh.plotting as bkp
      3 from bokeh.plotting import output_notebook
      4 import pandas as pd
      5 output_notebook()

ImportError: No module named bokeh.plotting

I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks
PK

I have the exact same issue, Have you been able to resolve it?

···

On Thursday, April 23, 2015 at 1:19:59 PM UTC-7, [email protected] wrote:

Hi All

I’m trying my first bokeh examples.
I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:
import numpy as np
import bokeh.plotting as bkp
from bokeh.plotting import output_notebook
import pandas as pd
output_notebook()

I get an error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-4afb539fa048> in <module>()
      1 import numpy as np
----> 2 import bokeh.plotting as bkp
      3 from bokeh.plotting import output_notebook
      4 import pandas as pd
      5 output_notebook()

ImportError: No module named bokeh.plotting


I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks
PK

You have an install or path problem of some sort. The most likely cause is having multiple python environments, and unintentionally running the notebook from a different environment than both was installed to.

Thanks,

Bryan

···

On Mar 1, 2018, at 16:48, [email protected] wrote:

I have the exact same issue, Have you been able to resolve it?

On Thursday, April 23, 2015 at 1:19:59 PM UTC-7, pkmu…@yahoo-inc.com wrote:

Hi All

I’m trying my first bokeh examples.
I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:
import numpy as np
import bokeh.plotting as bkp
from bokeh.plotting import output_notebook
import pandas as pd
output_notebook()

I get an error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-4afb539fa048> in <module>()
      1 import numpy as np
----> 2 import bokeh.plotting as bkp
      3 from bokeh.plotting import output_notebook
      4 import pandas as pd
      5 output_notebook()

ImportError: No module named bokeh.plotting


I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks
PK

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/4734dafc-7fc0-4bcb-8f3b-62a0fb3b4cd3%40continuum.io.

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

Thanks for replying,
Exactly , my friend helped me out , same issue was here.
Now I have another issue :

I wanted to plot using datashader , I installed anaconda and created a new environment then installed holoviews , datashader etc …

Now I tried to a simple sample code I found online , but I keep getting this error :

datashader.transfer_functions not found

The point is , it knows datashader , but one if the modules which is transfer_functions are missing !!!

Have you seen this ?

Regards

···

On Mar 1, 2018 8:40 PM, “Bryan Van de ven” [email protected] wrote:

You have an install or path problem of some sort. The most likely cause is having multiple python environments, and unintentionally running the notebook from a different environment than both was installed to.

Thanks,

Bryan

On Mar 1, 2018, at 16:48, [email protected] wrote:

I have the exact same issue, Have you been able to resolve it?

On Thursday, April 23, 2015 at 1:19:59 PM UTC-7, pkmu…@yahoo-inc.com wrote:

Hi All

I’m trying my first bokeh examples.
I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:
import numpy as np
import bokeh.plotting as bkp
from bokeh.plotting import output_notebook
import pandas as pd
output_notebook()

I get an error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-4afb539fa048> in <module>()
      1 import numpy as np
----> 2 import bokeh.plotting as bkp
      3 from bokeh.plotting import output_notebook
      4 import pandas as pd
      5 output_notebook()

ImportError: No module named bokeh.plotting


I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks
PK

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/4734dafc-7fc0-4bcb-8f3b-62a0fb3b4cd3%40continuum.io.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.

To unsubscribe from this group and all its topics, 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/01FB35B5-EE4B-4BE4-8389-1CCD0FB07699%40anaconda.com.

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

Data shader is still a young project under active development, best guess is that you need a different or newer version to be installed for the code you are trying to use.

Thanks,

Bryan

···

On Mar 1, 2018 8:40 PM, “Bryan Van de ven” [email protected] wrote:

You have an install or path problem of some sort. The most likely cause is having multiple python environments, and unintentionally running the notebook from a different environment than both was installed to.

Thanks,

Bryan

On Mar 1, 2018, at 16:48, [email protected] wrote:

I have the exact same issue, Have you been able to resolve it?

On Thursday, April 23, 2015 at 1:19:59 PM UTC-7, pkmu…@yahoo-inc.com wrote:

Hi All

I’m trying my first bokeh examples.
I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:
import numpy as np
import bokeh.plotting as bkp
from bokeh.plotting import output_notebook
import pandas as pd
output_notebook()

I get an error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-4afb539fa048> in <module>()
      1 import numpy as np
----> 2 import bokeh.plotting as bkp
      3 from bokeh.plotting import output_notebook
      4 import pandas as pd
      5 output_notebook()

ImportError: No module named bokeh.plotting


I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks
PK

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/4734dafc-7fc0-4bcb-8f3b-62a0fb3b4cd3%40continuum.io.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.

To unsubscribe from this group and all its topics, 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/01FB35B5-EE4B-4BE4-8389-1CCD0FB07699%40anaconda.com.

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

Datashader is new and I am a noob ! Jackpot ! But what I can confirm is , everything is updated

···

On Mar 1, 2018 8:59 PM, “Bryan Van de ven” [email protected] wrote:

Data shader is still a young project under active development, best guess is that you need a different or newer version to be installed for the code you are trying to use.

Thanks,

Bryan

On Mar 1, 2018, at 20:50, Amin Karbasi [email protected] wrote:

Thanks for replying,
Exactly , my friend helped me out , same issue was here.
Now I have another issue :

I wanted to plot using datashader , I installed anaconda and created a new environment then installed holoviews , datashader etc …

Now I tried to a simple sample code I found online , but I keep getting this error :

datashader.transfer_functions not found

The point is , it knows datashader , but one if the modules which is transfer_functions are missing !!!

Have you seen this ?

Regards

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/CAMWwDL-1btsohm3tg97Uf4PyTHkYKyBdiGV-u1_jStHHHtTXTA%40mail.gmail.com.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.

To unsubscribe from this group and all its topics, 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/E45F6AEE-9E33-42AD-97B0-E75923043332%40anaconda.com.

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

On Mar 1, 2018 8:40 PM, “Bryan Van de ven” [email protected] wrote:

You have an install or path problem of some sort. The most likely cause is having multiple python environments, and unintentionally running the notebook from a different environment than both was installed to.

Thanks,

Bryan

On Mar 1, 2018, at 16:48, [email protected] wrote:

I have the exact same issue, Have you been able to resolve it?

On Thursday, April 23, 2015 at 1:19:59 PM UTC-7, pkmu…@yahoo-inc.com wrote:

Hi All

I’m trying my first bokeh examples.
I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:
import numpy as np
import bokeh.plotting as bkp
from bokeh.plotting import output_notebook
import pandas as pd
output_notebook()

I get an error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-4afb539fa048> in <module>()
      1 import numpy as np
----> 2 import bokeh.plotting as bkp
      3 from bokeh.plotting import output_notebook
      4 import pandas as pd
      5 output_notebook()

ImportError: No module named bokeh.plotting


I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks
PK

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/4734dafc-7fc0-4bcb-8f3b-62a0fb3b4cd3%40continuum.io.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.

To unsubscribe from this group and all its topics, 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/01FB35B5-EE4B-4BE4-8389-1CCD0FB07699%40anaconda.com.

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

Well the converse is also possible: it might be the code is too old for newest DataShader versions. But I can't really offer advice beyond that since I don't work on Datashader. Best bet to contact them is a StackOverflow question tagged "datashader" or a GH issue on their repo:

  https://github.com/bokeh/datashader

Thanks,

Bryan

···

On Mar 1, 2018, at 21:10, Amin Karbasi <[email protected]> wrote:

Datashader is new and I am a noob ! Jackpot ! But what I can confirm is , everything is updated

On Mar 1, 2018 8:59 PM, "Bryan Van de ven" <[email protected]> wrote:
Data shader is still a young project under active development, best guess is that you need a different or newer version to be installed for the code you are trying to use.

Thanks,

Bryan

On Mar 1, 2018, at 20:50, Amin Karbasi <[email protected]> wrote:

Thanks for replying,
Exactly , my friend helped me out , same issue was here.
Now I have another issue :
I wanted to plot using datashader , I installed anaconda and created a new environment then installed holoviews , datashader etc ...

Now I tried to a simple sample code I found online , but I keep getting this error :
datashader.transfer_functions not found

The point is , it knows datashader , but one if the modules which is transfer_functions are missing !!!

Have you seen this ?

Regards

On Mar 1, 2018 8:40 PM, "Bryan Van de ven" <[email protected]> wrote:
You have an install or path problem of some sort. The most likely cause is having multiple python environments, and unintentionally running the notebook from a different environment than both was installed to.

Thanks,

Bryan

On Mar 1, 2018, at 16:48, [email protected] wrote:

I have the exact same issue, Have you been able to resolve it?

On Thursday, April 23, 2015 at 1:19:59 PM UTC-7, [email protected] wrote:
Hi All

I'm trying my first bokeh examples.
I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:
import numpy as np
import bokeh.plotting as bkp
from bokeh.plotting import output_notebook
import pandas as pd
output_notebook()

I get an error:

---------------------------------------------------------------------------
ImportError
                               Traceback (most recent call last)

<ipython-input-4-4afb539fa048> in <module>()
      1 import numpy as np
----> 2 import bokeh.plotting as bkp
      3 from bokeh.plotting import output_notebook
      4 import pandas as pd
      5 output_notebook()

ImportError
: No module named bokeh.plotting

I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks
PK

--
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/4734dafc-7fc0-4bcb-8f3b-62a0fb3b4cd3%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.
To unsubscribe from this group and all its topics, 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/01FB35B5-EE4B-4BE4-8389-1CCD0FB07699%40anaconda.com.
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/CAMWwDL-1btsohm3tg97Uf4PyTHkYKyBdiGV-u1_jStHHHtTXTA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.
To unsubscribe from this group and all its topics, 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/E45F6AEE-9E33-42AD-97B0-E75923043332%40anaconda.com.
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/CAMWwDL-F8eKE1VAdiRvbahMSkB3gPgR1_HaR0Zf2_Zjc8zreTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

I do work on datashader and agree; please do file an issue stating the version number you’re using and showing actual output. datashader.transfer_functions is a very old module, and it should certainly be present in the current 0.6.5 release.

···

On Fri, Mar 9, 2018 at 9:26 AM, Bryan Van de ven [email protected] wrote:

Well the converse is also possible: it might be the code is too old for newest DataShader versions. But I can’t really offer advice beyond that since I don’t work on Datashader. Best bet to contact them is a StackOverflow question tagged “datashader” or a GH issue on their repo:

    [https://github.com/bokeh/datashader](https://github.com/bokeh/datashader)

Thanks,

Bryan

On Mar 1, 2018, at 21:10, Amin Karbasi [email protected] wrote:

Datashader is new and I am a noob ! Jackpot ! But what I can confirm is , everything is updated

On Mar 1, 2018 8:59 PM, “Bryan Van de ven” [email protected] wrote:

Data shader is still a young project under active development, best guess is that you need a different or newer version to be installed for the code you are trying to use.

Thanks,

Bryan

On Mar 1, 2018, at 20:50, Amin Karbasi [email protected] wrote:

Thanks for replying,

Exactly , my friend helped me out , same issue was here.

Now I have another issue :

I wanted to plot using datashader , I installed anaconda and created a new environment then installed holoviews , datashader etc …

Now I tried to a simple sample code I found online , but I keep getting this error :

datashader.transfer_functions not found

The point is , it knows datashader , but one if the modules which is transfer_functions are missing !!!

Have you seen this ?

Regards

On Mar 1, 2018 8:40 PM, “Bryan Van de ven” [email protected] wrote:

You have an install or path problem of some sort. The most likely cause is having multiple python environments, and unintentionally running the notebook from a different environment than both was installed to.

Thanks,

Bryan

On Mar 1, 2018, at 16:48, [email protected] wrote:

I have the exact same issue, Have you been able to resolve it?

On Thursday, April 23, 2015 at 1:19:59 PM UTC-7, [email protected] wrote:

Hi All

I’m trying my first bokeh examples.

I am following the instructions here: http://nbviewer.ipython.org/github/paddymul/bokeh_tutorial/blob/master/bokeh_tutorial.ipynb

However, when I try to run this code:

import numpy as np

import bokeh.plotting as bkp

from bokeh.plotting import output_notebook

import pandas as pd

output_notebook()

I get an error:


ImportError

                           Traceback (most recent call last)

in ()

  1 import numpy as np

----> 2 import bokeh.plotting as bkp

  3 from bokeh.plotting import output_notebook
  4 import pandas as pd
  5 output_notebook()

ImportError

: No module named bokeh.plotting

I have bokeh.0.8.2 installed on my machine, btw.

Any help will be appreciated.

thanks

PK

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/4734dafc-7fc0-4bcb-8f3b-62a0fb3b4cd3%40continuum.io.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.

To unsubscribe from this group and all its topics, 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/01FB35B5-EE4B-4BE4-8389-1CCD0FB07699%40anaconda.com.

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].io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAMWwDL-1btsohm3tg97Uf4PyTHkYKyBdiGV-u1_jStHHHtTXTA%40mail.gmail.com.

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

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/dQgTd0cxyGg/unsubscribe.

To unsubscribe from this group and all its topics, 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/E45F6AEE-9E33-42AD-97B0-E75923043332%40anaconda.com.

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/CAMWwDL-F8eKE1VAdiRvbahMSkB3gPgR1_HaR0Zf2_Zjc8zreTQ%40mail.gmail.com.

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/86648F41-1C99-404D-B3E8-B99C0AB95AE0%40anaconda.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.