我试图将木星-support for 火花安装在anaconda分布的康达环境中(这是我使用http://conda.pydata.org/docs/test-drive.html设置的)。为此,我试图使用阿帕奇·托里作为木星核。
下面是我安装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“中运行。
发布于 2016-05-13 19:54:54
默认情况下,木星试图将内核安装到全系统内核注册表中。您可以传递一个-用户标志,它将使用用户内核dir。更多详细信息可在kernelspec.py中获得。下面的命令将toree内核安装到用户内核中
jupyter toree install --userhttps://stackoverflow.com/questions/37214610
复制相似问题