Closed syelda closed 6 years ago
If I change the Javascript() line in visJS_module.py to the following, it works fine: Javascript("$.getScript('https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.js')")
@syelda I run into exactly the same problem today, and your solution also worked for me! Thanks.
I'm sorry that you ran into that problem! I've updated the github code to reflect this fix.
Hi! I'm getting the same error as Sylvana when I try and import the library using import visJS2jupyter.visJS_module
after installing using python3 -m pip install visJS2jupyter
. Let me know if I'm doing something wrong!
Thanks, Cory
I just have the some problem. I guess you're also importing version 0.1.16 which is from March 2018. The fix is from May - you might wanna install it directly from github:
pip install git+https://github.com/ucsd-ccbb/visJS2jupyter.git
Thanks, Thomas - that worked!
Thanks @Chaoste, this also worked for me.
@m1webste Could you imagine releasing an updated package to PyPi, just for convenience of not having to find this closed issue when running into the same error? According to https://github.com/ucsd-ccbb/visJS2jupyter/issues/17#issuecomment-390246797 this should have happened, but my naive install before finding the issue here let me run into this, too.
@syelda Thanks a lot, the solutions works well
Hi! I've gone through and installed everything according to the install instructions. But when importing visJS2jupyter.visJS_module, I get the following error:
I've cut off the error, as it is just a print out of the entire page from https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.js. So it appears that I am unable to load the vis.js file -- any ideas what I may be missing or doing wrong?
Thank you! Sylvana