ucsd-ccbb / visJS2jupyter

visJS2jupyter is a tool to bring the interactivity of networks created with vis.js into jupyter notebook cells
MIT License
78 stars 17 forks source link

TypeError on import #17

Closed jarmarshall closed 6 years ago

jarmarshall commented 6 years ago

I am using python 3.6.4 and Jupyter 5.5.0... I cannot even import the package, which throws TypeError: Javascript expects text, not b'/**\r\n * vis.js\r\n * https://github.com/almende/vis\r\n *[....] (there is a lot of text in the [....])

jonrichens commented 6 years ago

I get the same error when trying to import

m1webste commented 6 years ago

Another user had this issue and found a fix. This fix has been reflected on git, but not yet on pipy. We'll update that very soon.

jarmarshall commented 6 years ago

Ah yes, sorry - just found issue #16

m1webste commented 6 years ago

I've updated the pypi. Could you try importing it again and letting me know if you still have that problem?

jarmarshall commented 6 years ago

Yes, this now imports fine, thanks - I look forward to trying out the package!