认真是我们
参与这个社会的方式

安装Jupyter与highchart

安装Jupyter

sudo pip3 install jupyter

 

安装highchart

sudo pip3 install charts

 

解决报错

此时启动Jupyter,在新页面里面引入charts会报错

#启动Jupyter
jupyter notebook
#新页里面输入并cell>run会报错
import charts

 

解决

进入python3,找到安装目录

import sys
print(sys.path)
#我的是/usr/local/lib/python3.5/dist-packages

 

使用下面的链接中的7个文件替换charts文件夹中的7个文件

https://github.com/mugglecoding/Plan-for-combating/tree/master/week3/charts_replace_file

启动

jupyter notebook

 

没有故事 也没有酒

点也没用点也没用