Mak*_*e42 6 anaconda conda apache-spark jupyter-notebook apache-toree
我试图安装Jupyter -支持星火 在畅达环境(这是我设置使用http://conda.pydata.org/docs/test-drive.html)的的蟒蛇分布.我正在尝试使用apache toree作为Jupyter Kernel.
这是我安装Anaconda后的所作所为:
conda create --name jupyter python=3
source activate jupyter
conda install jupyter
pip install --pre toree
jupyter toree install
Run Code Online (Sandbox Code Playgroud)
一切正常,直到我到达最后一行.我得到了
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter'
Run Code Online (Sandbox Code Playgroud)
这就引出了一个问题:为什么它甚至会查看该目录?毕竟它应该留在环境中.因此我感到满意
jupyter --paths
Run Code Online (Sandbox Code Playgroud)
得到
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
Run Code Online (Sandbox Code Playgroud)
我不太确定发生了什么,以及如何继续运行(如果可能的话)conda环境"jupyter".
小智 8
Jupyter默认尝试将内核安装到系统范围的内核注册表中.您可以传递--user标志,它将使用用户内核目录.kernelspec.py中提供了更多详细信息.以下命令将toree内核安装到用户内核中
jupyter toree install --user
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
6711 次 |
最近记录: |