首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在本地安装jupyter之后,我无法运行jupyter笔记本

在本地安装jupyter之后,我无法运行jupyter笔记本
EN

Stack Overflow用户
提问于 2016-11-14 12:05:56
回答 1查看 1.2K关注 0票数 2

在linux上:我尝试在本地安装jupyter:

代码语言:javascript
复制
$ pip install jupyter --user

好像一切都安装得很好..。

但是-我不能jupyter笔记本,也不能~/..local/bin/jupyter笔记本为什么?

装置..。

$ pip安装jupyter --用户使用缓存的jupyter收集jupyter-1.0.0-py2.py3-任何已满足的要求:ipywidget in ~/..local/lib/python2.7/site-包(来自jupyter)已经满足:Notein.local/lib/python2.7/site-包(来自jupyter):ipykernel in ~/.local /lib/python2.7/site-包(来自jupyter)要求已经满足:/lib/python2.7/site-packages (来自jupyter)要求已经满足:jupyter-控制台在~/..local/lib/python2.7/site-packages(来自jupyter)要求已经满足: nbconvert in ~/..local/lib/python2.7/site-包(来自jupyter)要求已经满足: traitlets>=4.2.1 in ~/.local/lib/python2.7/site-包(来自ipywidgets>jupyter)要求已经满足: ipython>=4.0.0 in ~/.local/lib/python2 2.7站点-包(来自ipywidgets>jupyter)要求已经满足: widgetsnbextension>=1.2.6 in ~/..local/lib/python2.7/site-packages(来自ipywidgets>jupyter)要求已经满足: tornado>=4 in ~/..local/lib/python2.7/site-packages(来自笔记本->jupyter)要求已经满足: terminado>=0.3.3;sys_platform != "win32“在~/..local/lib/python2.7/site-包(来自笔记本->jupyter)中已经满足: jupyter-core in ~/..local/lib/python2.7/site-packages(来自笔记本->jupyter)包: jinja2 in ~/.local/lib/python2.7/site-包(来自笔记本->jupyter)要求已经满足:ipython in ~/..local/lib/python2.7/site-包(来自笔记本->jupyter)已满足的要求: nbformat in ~/..local/lib/python2.7/site-packages(来自笔记本->jupyter)要求已经满足: jupyter-client in ~/..local/lib/python2.7/site-packages(来自笔记本->jupyter)要求已经满足: pygments in ~/.local/lib/python2.7/site-packages (来自qt控制台->jupyter)要求已经满足:提示-工具箱<2.0,>=1.0.0 in ~/..local/lib/python2.7/site-packages(来自jupyter->jupyter->jupyter)已经满足了以下要求: mistune!=0.6 in ~/..local/lib/python2.7/site-packages(来自nbconvert->jupyter)要求已经满足:在~/..local/lib/python2.7/site-包中的切入点(来自4.2.1>jupyter)要求已经满足:python_version == "2.7“在~/.==/lib/python2.7/site-packages (from traitlet>=4.2.1->ipywidgets>jupyter)中已经满足要求:6个in /..local/lib/python2.7/site-包(来自traitlet>=4.2.1->ipywidgets>jupyter)要求已经满足: setuptools>=18.5 in ~/.local/lib/python2.7/site-packages >=4.0.0->ipywidgets>jupyter)python_version == "2.7“在~/.==/lib/python2.7/site-packages(来自ipython>=4.0.0->ipywidgets>jupyter)的要求已经满足: simplegeneric>0.8 in ~/..local/lib/python2.7/site-packages(来自ipython>=4.0.0->ipywidgets>jupyter)要求已经满足:>jupyter在~/..local/lib/python2.7/site-包中(来自ipython>=4.0.0->ipywidgets>jupyter)要求已经满足:sys_platform != "win32“在~/.win32/lib/python2.7/site-packages中(来自ipython>=4.0.0->ipywidgets>jupyter)要求已经满足: pathlib2;python_version == "2.7“或python_version == "3.3”在~/..local/lib/python2.7/site-packages中(来自ipython>=4.0.0->ipywidgets>jupyter)要求已经满足: backports.ssl-match-hostname in ~/..local/lib/python2.7/site-packages>=4->记事本->jupyter->jupyter)要求已经满足:backports abc>=0.4 in ~/.local/lib/python2.7/site-包(来自tor旋风>=4->笔记本->jupyter)已满足的要求:在~/..local/lib/python2.7/site-packages中的证书(来自Tor旋风>=4->记事本->jupyter)要求已经满足:在~/..local/lib/python2.7/site-包中进行单次调度(来自龙卷风>=4->记事本->jupyter)要求已经满足: ptyprocess in ~/..local/lib/python2.7/site-packages(来自terminado>=0.3.3;sys_platform !=“win32”->笔记本->jupyter)已经满足要求: MarkupSafe in ~/..local/lib/python2.7/site-packages(来自jinja2 2->记事本->jupyter)要求已经满足: jsonschema!=2.5.0,>=2.0 in ~/..local/lib/python2.7/site-packages(来自nbformat->记事本->jupyter)要求已经满足: pyzmq>=13 in ~/..local/lib/python2.7/site-packages(来自jupyter-client->记事本->jupyter)要求已经满足: wcwidth in ~/.local/lib/python2.7/site-包(来自提示-工具箱<2.0.0,>=1.0.0->jupyter->jupyter)要求已经满足: configparser>=3.5;python_version == "2.7“在~/. == /lib/python2.7/site-包(来自入口点->nbformat> jupyter )要求已经满足: functools32;python_version == "2.7”在~/..local/lib/python2.7/site-包(来自jsonschema!=2.5.0,>=2.0->nbformat->记事本->jupyter)安装收集的软件包:jupyter成功安装jupyter-1.0.0

EN

回答 1

Stack Overflow用户

发布于 2016-12-23 21:37:33

首先设置两个变量,其CMD命令如下:set PYSPARK_DRIVER_PYTHON_OPTS=notebook set PYSPARK_DRIVER_PYTHON=ipython现在使用命令pyspark运行pyspark,它将打开8888(默认)端口,jupyter运行已启动的sparkContext。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40588398

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档