spark 2.2:jupyter notebook NameError: name 'sc' is not defined
·
我在运行spark机器学习的python例子的时候会出现上面的错误
name 'sc' is not defined
这是因为另一个程序占用了python kernel的缘故,你重新开了一个程序运行就会报错,这个时候我们需要把原来的程序关了,然后再重新运行现在的就行了
参考文献
[1].https://stackoverflow.com/questions/38515369/jupyter-notebook-nameerror-name-sc-is-not-defined
更多推荐
所有评论(0)