Does anyone know if the bokeh plotting library can be imported through pipista for web development? There's a JS library involved for front end purposes, but that should all be handled by the browser. I can't find anything about the architecture of the python library in the documentation, so I don't know if it's pure python or not.
Looks like it depends on gevent (which has c), redis, and other non pure python libraries. It is possible that some of the feature you want don't require everything, for instance if you do file based, not server based.... But the only way to find out is to try!
Okay, so I got shellista running, downloaded bokeh with <code>pdown</code>, unzipped with <code>ungzip</code>, and untarred with <code>untar</code>, and I now have a bokeh-0.5.1 folder inside my shellista folder, but outside the local-packages folder. When I try to import it, I get "<code>ImportError: No module named bokeh</code>". Am I missing anything here?
you need to add the folder to sys.path. or os.chdir to your shellista folder before importing. Or copy to site-packages.
Hmmm... No luck still. In looking through the bokeh-0.5.1 folder, I don't see a bokeh.py file. Shouldn't there be one in there?
I believe bokeh is a package, hence the
__init__.pyin the bokeh folder.
If you os.chdir to the folder which contains the
import bokeh, it at least imports.
It might be a good idea to move the bokeh, etc, folders out of bokeh-0.5.1 and into the main documents folder, or site-packages, or somewhere else on the search path, so you can import without worrying about your curdir.
Next, you definitely need to
pdown nose, and
untgz nose, then
cp nose*/nose*/nose someplaceonsearchpath
That will let you run
When I did that, the tests revealed about 104 errors, which you can set about trying to fix. Check setup.py for the list of dependencies that you probably need to try to install first. I count about 24 that might be needed, only a few of which come with pythinista, though perhaps some particular function you want does not require everything.
I'd be interested to know if (and how) you get it all working.
Thanks for all the help JonB. You can't see it, but I'm giving you two thumbs up, since there's no other way to officially appreciate people on the forum. I will definitely give all this a try when I can. Unfortunately I accidentally left my iPad in someones car and won't get it back until tomorrow. I will report back when I get a chance to try it out.