-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用的官网第一个示例,结果网页打开是个空白页面 #503
Comments
pip uninstall pyecharts -> pip install pyecharts==0.4.1 -U 试试 |
@chenjiandongx 试了pip uninstall pyecharts -> pip install pyecharts==0.4.1 -U ,还是一样空白。 |
@chenjiandongx 打开ie浏览器打开render.html提示echarts未定义。 <script src="echarts.js"></script> <script type="text/javascript"> var myChart_76714d7f61674454a1241b067fedbaa3 = echarts.init(document.getElementById('76714d7f61674454a1241b067fedbaa3'), null, {renderer: 'canvas'});` 但是我每次都要这样吗?好麻烦啊。 |
发来你的pip freeze 的输出. 一定是你的环境问题哦 |
@chfw |
OK. In the same environment, please run your program and share you |
@chfw 不允许上传html文件,我重命名为txt了。 |
Please place above code before all of your sample code and then run it. Please show me the log file. |
@chfw 是这样吗? 控制台里的内容是这样: Process finished with exit code 0 |
|
@chfw ,按你的写法,提示如下: C:\Python36\python.exe F:/code/pyecharts_1/pyechart_1.py Process finished with exit code 0 |
先卸载
再装,再试试。
|
@chfw 卸载后,再安装,发现安装的版本是0.1.1,不是原来的0.1.0 |
@chfw 现在正常了,感谢不耐其烦的帮助! |
In conclusion: jupyter-echarts-pypkg is not installed properly, although it appears to be so (pip freeze). The following line produces empty output because no jupyter-echarts-pypkg found: https://github.com/pyecharts/pyecharts/blob/master/pyecharts/templates/simple_chart.html#L6 |
我运行官网的第一个例子,报这个错,应该怎么解决啊
|
重新安装 |
环境:python3.6 pyecharts0.4.1 win7 64位
打开render.html,是个空白页面,各种浏览器试过一样,大神帮下吧。
The text was updated successfully, but these errors were encountered: