centos7jupyter-notebook 使用pyspark

昨天好不容易可以在centos上使用jupyter-notebook,但是在代码块写入import pyspark时却提示无模块,
今天看到一篇博客,原来是没有配置/etc/profile中PYTHONPATH
使用jupyter-notebook --allow-root:
http://blog.51cto.com/175779/2045728

其中py4j-0.10.7-src.zip解压命令参考博客:
https://blog.csdn.net/wxyjuly/article/details/79398559

jupyter-notebook使用pyspark参考博客:
https://blog.csdn.net/j790675692/article/details/52300083

猜你喜欢

转载自blog.csdn.net/weixin_37353303/article/details/83148983