【发布时间】:2016-09-09 22:08:39
【问题描述】:
我正在尝试在anaconda distribution 的conda 环境(我使用http://conda.pydata.org/docs/test-drive.html 设置)中安装Jupyter-support for Spark。 我正在尝试将apache toree 用作Jupyter Kernel。
这是我安装 Anaconda 后所做的:
conda create --name jupyter python=3
source activate jupyter
conda install jupyter
pip install --pre toree
jupyter toree install
在我到达最后一行之前一切正常。我明白了
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter'
这引出了一个问题:为什么它甚至在那个目录中查找?毕竟它应该留在环境中。因此我执行
jupyter --paths
得到
config:
/home/user/.jupyter
~/anaconda2/envs/jupyter/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/home/user/.local/share/jupyter
~/anaconda2/envs/jupyter/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/run/user/1000/jupyter
我不太清楚发生了什么以及如何继续让所有东西都在 conda 环境“jupyter”中运行(如果可能的话)。
【问题讨论】:
标签: apache-spark anaconda jupyter-notebook conda apache-toree