Xshell远程集群上的pyspark中配置ipython notebook 安装条件 安装并配置jupyter notebook 设置spark_home环境变量 设置Xshell会话属性 测试使用 安装条件 Xshell集群上已经安装spark、pyspark和python 安装并配置jupyter notebook 在Xshell集群终端中输入以下代码安装jupyter notebook pip install jupyter pip install notebook 在python中生成Notebook配置文件的秘钥 In [1]: from notebook.auth import passwd In [2]: passwd() Enter password: Verify password: