Bokeh Server - No module named pyensembl

My script contains:

import pyensembl

I can execute my script like this:
python3 myscript.py

But when I do:

bokeh serve myscript.py

Then I get the error message:

Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x107546be0>: No module named ‘pyensembl’

Why is that? How do I get Bokeh Server to find pyensembl? Thanks!

I had done pip3 install pyensembl. I just did pip install pyensembl and it worked.

···

On Friday, 24 March 2017 16:48:29 UTC, Tommy Carstensen wrote:

My script contains:

import pyensembl

I can execute my script like this:
python3 myscript.py

But when I do:

bokeh serve myscript.py

Then I get the error message:

Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x107546be0>: No module named ‘pyensembl’

Why is that? How do I get Bokeh Server to find pyensembl? Thanks!

Hi,

it sounds like you have multiple conda env or virtual envs, and you are running the bokeh executable out of a different env than you think you are (so, this is a system path issue).

Thanks,

Bryan

···

On Mar 24, 2017, at 11:53, Tommy Carstensen <[email protected]> wrote:

I had done pip3 install pyensembl. I just did pip install pyensembl and it worked.

On Friday, 24 March 2017 16:48:29 UTC, Tommy Carstensen wrote:
My script contains:
import pyensembl

I can execute my script like this:
python3 myscript.py

But when I do:
bokeh serve myscript.py

Then I get the error message:
Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x107546be0>: No module named 'pyensembl'

Why is that? How do I get Bokeh Server to find pyensembl? Thanks!

--
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/25793717-5f2a-4370-8420-9b0ca5547103%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

I was using two different bokeh executables. One I had gotten with conda install bokeh. The other with pip3 install bokeh. I just made the same mistake again on another machine. All sorted. Thanks!

···

On Fri, 24 Mar 2017 at 17:21 Bryan Van de ven [email protected] wrote:

Hi,

it sounds like you have multiple conda env or virtual envs, and you are running the bokeh executable out of a different env than you think you are (so, this is a system path issue).

Thanks,

Bryan

On Mar 24, 2017, at 11:53, Tommy Carstensen [email protected] wrote:

I had done pip3 install pyensembl. I just did pip install pyensembl and it worked.

On Friday, 24 March 2017 16:48:29 UTC, Tommy Carstensen wrote:

My script contains:

import pyensembl

I can execute my script like this:

python3 myscript.py

But when I do:

bokeh serve myscript.py

Then I get the error message:

Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x107546be0>: No module named ‘pyensembl’

Why is that? How do I get Bokeh Server to find pyensembl? Thanks!

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/25793717-5f2a-4370-8420-9b0ca5547103%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/A7hJCRac1lI/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/A1A5D01D-0ACE-4360-81E0-302DD5F79619%40continuum.io.

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