edinburghlivinglab / livinglab-hubserver

Now running at https://jupyter-inf.is.ed.ac.uk (defunct)
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

bokeh import problem #13

Open gngdb opened 8 years ago

gngdb commented 8 years ago

Could be a problem in the version of bokeh installed, but I'm getting import errors on Heatmap trying to execute notebooks in dds-notebooks on the new virtual machine deployment.

gngdb commented 8 years ago

Also having problems with the twitter sentiment analysis, reported by Ben:

/usr/local/lib/python3.4/dist-packages/nltk/twitter/__init__.py:20: UserWarning: The twython library has not been installed. Some functionality from the twitter package will not be available.
  warnings.warn("The twython library has not been installed. "
gngdb commented 8 years ago

Problem with bokeh is due to the version installed; something must be overriding the version we specify during the install proced (one of the other packages being installed). The dds-notebooks requirements specifies 0.9.1, but we end up with 0.10.0. Unclear at this point what's causing this, but to make the code robust to this just added a try/except block to dds_lab.

If we ever update to the latest version of bokeh, this will break too, but so will all the code using the old interface anyway.

gngdb commented 8 years ago

Twitter error reported above requires have twitter and twython installed; which have now been added to the stack. Pending rebuild. That doesn't fix the problem entirely though, suspect we need to set up twitter credentials, or similar. Someone must have already done this though, making an issue about this.

gngdb commented 8 years ago

After rebuilding the stack image, bokeh has been installed to 0.11.0; causing new problems. Rolled back to 0.10.0 in the running container to deal with this for now. Unsure which dependency is causing this, but one of them must require bokeh at a recent version.

ewan-klein commented 8 years ago

@franciscovargas Can you help out with the issue about Bokeh versions?

lucystewart commented 8 years ago

Ewan can you remove me from this list please- keep getting all the emails

Thanks

On Sunday, 10 January 2016, Ewan Klein notifications@github.com wrote:

@franciscovargas https://github.com/franciscovargas Can you help out with the issue about Bokeh versions?

— Reply to this email directly or view it on GitHub https://github.com/edinburghlivinglab/livinglab-hubserver/issues/13#issuecomment-170269136 .


Lucy Stewart @newstolucy

gngdb commented 8 years ago

You can remove yourself on GitHub, from all notifications, or unsubscribe from updates to this repository, or you can unsubscribe to notifications from this one issue.