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