- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在安装 Jupyter 时,我几乎完成了,直到最后出现了一个叫做异常的东西。我是 Ubuntu 和 Python 的新手,所以无法理解这些东西。
pip install jupyter
Collecting jupyter
Downloading jupyter-1.0.0-py2.py3-none-any.whl
Collecting nbconvert (from jupyter)
Downloading nbconvert-5.3.1-py2.py3-none-any.whl (387kB)
100% |████████████████████████████████| 389kB 1.3MB/s
Collecting ipywidgets (from jupyter)
Downloading ipywidgets-7.1.2-py2.py3-none-any.whl (68kB)
100% |████████████████████████████████| 71kB 3.5MB/s
Collecting notebook (from jupyter)
`enter code here` Downloading notebook-5.4.1-py2.py3-none-any.whl (8.0MB)
100% |████████████████████████████████| 8.0MB 106kB/s
Collecting qtconsole (from jupyter)
Downloading qtconsole-4.3.1-py2.py3-none-any.whl (108kB)
100% |████████████████████████████████| 112kB 4.9MB/s
Collecting jupyter-console (from jupyter)
Downloading jupyter_console-5.2.0-py2.py3-none-any.whl
Collecting ipykernel (from jupyter)
Downloading ipykernel-4.8.2-py2-none-any.whl (108kB)
100% |████████████████████████████████| 112kB 5.2MB/s
Collecting pandocfilters>=1.4.1 (from nbconvert->jupyter)
Downloading pandocfilters-1.4.2.tar.gz
Collecting entrypoints>=0.2.2 (from nbconvert->jupyter)
Downloading entrypoints-0.2.3-py2.py3-none-any.whl
Collecting jinja2 (from nbconvert->jupyter)
Downloading Jinja2-2.10-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB 3.2MB/s
Collecting testpath (from nbconvert->jupyter)
Downloading testpath-0.3.1-py2.py3-none-any.whl (161kB)
100% |████████████████████████████████| 163kB 2.9MB/s
Collecting mistune>=0.7.4 (from nbconvert->jupyter)
Downloading mistune-0.8.3-py2.py3-none-any.whl
Collecting nbformat>=4.4 (from nbconvert->jupyter)
Downloading nbformat-4.4.0-py2.py3-none-any.whl (155kB)
100% |████████████████████████████████| 163kB 3.5MB/s
Collecting pygments (from nbconvert->jupyter)
Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)
100% |████████████████████████████████| 849kB 975kB/s
Collecting bleach (from nbconvert->jupyter)
Downloading bleach-2.1.3-py2.py3-none-any.whl
Collecting traitlets>=4.2 (from nbconvert->jupyter)
Downloading traitlets-4.3.2-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 81kB 4.6MB/s
Collecting jupyter-core (from nbconvert->jupyter)
Downloading jupyter_core-4.4.0-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB 4.5MB/s
Collecting widgetsnbextension~=3.1.0 (from ipywidgets->jupyter)
Downloading widgetsnbextension-3.1.4-py2.py3-none-any.whl (2.2MB)
100% |████████████████████████████████| 2.2MB 392kB/s
Collecting ipython<6.0.0,>=4.0.0; python_version < "3.3" (from ipywidgets->jupyter)
Downloading ipython-5.5.0-py2-none-any.whl (758kB)
100% |████████████████████████████████| 768kB 1.1MB/s
Collecting Send2Trash (from notebook->jupyter)
Downloading Send2Trash-1.5.0.tar.gz
Collecting ipython-genutils (from notebook->jupyter)
Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting jupyter-client>=5.2.0 (from notebook->jupyter)
Downloading jupyter_client-5.2.3-py2.py3-none-any.whl (89kB)
100% |████████████████████████████████| 92kB 4.5MB/s
Collecting tornado>=4 (from notebook->jupyter)
Downloading tornado-5.0.1.tar.gz (504kB)
100% |████████████████████████████████| 512kB 1.5MB/s
Collecting terminado>=0.8.1 (from notebook->jupyter)
Downloading terminado-0.8.1-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.0 (from jupyter-console->jupyter)
Downloading prompt_toolkit-1.0.15-py2-none-any.whl (247kB)
100% |████████████████████████████████| 256kB 2.6MB/s
Collecting configparser>=3.5; python_version == "2.7" (from entrypoints>=0.2.2->nbconvert->jupyter)
Downloading configparser-3.5.0.tar.gz
Collecting MarkupSafe>=0.23 (from jinja2->nbconvert->jupyter)
Downloading MarkupSafe-1.0.tar.gz
Collecting jsonschema!=2.5.0,>=2.4 (from nbformat>=4.4->nbconvert->jupyter)
Downloading jsonschema-2.6.0-py2.py3-none-any.whl
Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre (from bleach->nbconvert->jupyter)
Downloading html5lib-1.0.1-py2.py3-none-any.whl (117kB)
100% |████████████████████████████████| 122kB 4.3MB/s
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from bleach->nbconvert->jupyter)
Collecting decorator (from traitlets>=4.2->nbconvert->jupyter)
Downloading decorator-4.2.1-py2.py3-none-any.whl
Collecting enum34; python_version == "2.7" (from traitlets>=4.2->nbconvert->jupyter)
Downloading enum34-1.1.6-py2-none-any.whl
Collecting pexpect; sys_platform != "win32" (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading pexpect-4.4.0-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 61kB 5.1MB/s
Collecting backports.shutil-get-terminal-size; python_version == "2.7" (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=18.5 in /usr/lib/python2.7/dist-packages (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Collecting pathlib2; python_version == "2.7" or python_version == "3.3" (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading pathlib2-2.3.0-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading simplegeneric-0.8.1.zip
Collecting pickleshare (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading pickleshare-0.7.4-py2.py3-none-any.whl
Collecting pyzmq>=13 (from jupyter-client>=5.2.0->notebook->jupyter)
Downloading pyzmq-17.0.0-cp27-cp27mu-manylinux1_x86_64.whl (3.0MB)
100% |████████████████████████████████| 3.0MB 281kB/s
Collecting python-dateutil>=2.1 (from jupyter-client>=5.2.0->notebook->jupyter)
Downloading python_dateutil-2.7.2-py2.py3-none-any.whl (212kB)
100% |████████████████████████████████| 215kB 2.9MB/s
Collecting futures (from tornado>=4->notebook->jupyter)
Downloading futures-3.2.0-py2-none-any.whl
Collecting singledispatch (from tornado>=4->notebook->jupyter)
Downloading singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting backports_abc>=0.4 (from tornado>=4->notebook->jupyter)
Downloading backports_abc-0.5-py2.py3-none-any.whl
Collecting ptyprocess; os_name != "nt" (from terminado>=0.8.1->notebook->jupyter)
Downloading ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter)
Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Collecting functools32; python_version == "2.7" (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->jupyter)
Downloading functools32-3.2.3-2.tar.gz
Collecting webencodings (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->jupyter)
Downloading webencodings-0.5.1-py2.py3-none-any.whl
Collecting scandir; python_version < "3.5" (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading scandir-1.7.tar.gz
Building wheels for collected packages: pandocfilters, Send2Trash, tornado, configparser, MarkupSafe, simplegeneric, functools32, scandir
Running setup.py bdist_wheel for pandocfilters ... done
Stored in directory: /home/mukul/.cache/pip/wheels/08/5b/5b/66b3cde6f8215f8345479ef3699d6ddbb860f6ea7072008f8b
Running setup.py bdist_wheel for Send2Trash ... done
Stored in directory: /home/mukul/.cache/pip/wheels/7e/53/4f/bba4eeb954fb986a22a98b8ead0fce8f4f1f4e8028ed715530
Running setup.py bdist_wheel for tornado ... done
Stored in directory: /home/mukul/.cache/pip/wheels/fd/0d/50/bb8bebaf371beed13f2502466cdadc9ef2afb3302e66a56a36
Running setup.py bdist_wheel for configparser ... done
Stored in directory: /home/mukul/.cache/pip/wheels/1c/bd/b4/277af3f6c40645661b4cd1c21df26aca0f2e1e9714a1d4cda8
Running setup.py bdist_wheel for MarkupSafe ... done
Stored in directory: /home/mukul/.cache/pip/wheels/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
Running setup.py bdist_wheel for simplegeneric ... done
Stored in directory: /home/mukul/.cache/pip/wheels/7b/31/08/c85e74c84188cbec6a6827beec4d640f2bd78ae003dc1ec09d
Running setup.py bdist_wheel for functools32 ... done
Stored in directory: /home/mukul/.cache/pip/wheels/b5/83/8b/2de165caa2da68be141fbf343fd291fbcae73094c213ba3f5c
Running setup.py bdist_wheel for scandir ... done
Stored in directory: /home/mukul/.cache/pip/wheels/3d/51/95/79b749f7e52b5dea9e01b5c72da1c728151fc65a3984c37bec
Successfully built pandocfilters Send2Trash tornado configparser MarkupSafe simplegeneric functools32 scandir
Installing collected packages: pandocfilters, configparser, entrypoints, MarkupSafe, jinja2, testpath, mistune, ipython-genutils, decorator, enum34, traitlets, jupyter-core, functools32, jsonschema, nbformat, pygments, webencodings, html5lib, bleach, nbconvert, Send2Trash, futures, singledispatch, backports-abc, tornado, pyzmq, python-dateutil, jupyter-client, ptyprocess, terminado, wcwidth, prompt-toolkit, pexpect, backports.shutil-get-terminal-size, scandir, pathlib2, simplegeneric, pickleshare, ipython, ipykernel, notebook, widgetsnbextension, ipywidgets, qtconsole, jupyter-console, jupyter
Exception:
Traceback (most recent call last):
File "/home/mukul/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/mukul/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/mukul/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/mukul/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/mukul/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/mukul/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/mukul/.local/lib/python2.7/site-packages/pip/wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pandocfilters.py'
虽然安装 jupyter 一切正常,但最后我遇到了一些异常。我不明白这些是什么。
最佳答案
您收到错误 IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pandocfilters.py'
因为您正在运行 pip install
在普通用户下。
您可以使用 sudo pip install jupyter
运行相同的命令。这将在安装时为您提供 root 权限,或者您可以查看在 virtualenv 中运行它。您可以在 https://docs.python.org/3/tutorial/venv.html 阅读更多关于 virtualenv 的内容。 .
关于python - 异常 : error while installing jupyter on Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49541927/
我是 Maven 新手,正在尝试了解它是如何工作的。 我知道生命周期由多个阶段组成。阶段称为他们的魔力。如果调用一个阶段,则前面的所有阶段也会执行。例如,当我调用 mvn install 时就会发生这
我想安装Ros(机器人操作系统)的驱动程序,我有两个选项:二进制安装和从源代码编译安装。我想知道哪种安装更好,每种安装有哪些优点和缺点。 最佳答案 源:又称源代码,通常位于某种 tarball 或 z
以及更具体的问题。我的理解对吗: “nuget install”总是安装到您运行它的目录吗? “choco install”安装到特殊的 choco 目录,然后运行脚本在系统中传播它? “nuget
我创建了 Android 项目,但随后我立即得到出现错误的信息。 Warning:(22, 12) Dependency on a support library, but the SDK insta
我的安装程序有 32 位和 64 位版本,它们具有(几乎)完全相同的代码和自定义操作序列(只有与此问题无关的细微差别) 我希望我的安装程序能够检测它之前是否已安装,并在这种情况下运行我自己的代码,而不
我在TFS版本中使用npm install cmd。我总是得到以下警告: npm WARN optional dep failed, continuing fsevents@0.3.1 如何删除此警告
是否可以将install(TARGETS ...)与在add_subdirectory添加的目录中定义的目标一起使用? 我的用例是,我想为gtest构建一个rpm的e.gg。 gtest项目恰好有一个
我需要使用 MSI 创建安装程序,其目的是根据用户的区域(从环境变量读取)调用正确的安装程序。也就是说,这个安装程序应该有 3 个文件(它们本身就是安装程序),一个用于美国,一个用于欧洲,一个用于亚洲
我正在尝试通过 Android Studio 3.5 在我的小米 RedMi S2 上运行我的应用程序。在手机上安装应用程序时抛出错误: Installation did not succeed. T
使用govendor时,go install、govendor install +local和govendor install +vendor,^program有什么区别? govendor inst
我用谷歌搜索了很多,但找不到答案。因此,在 Windows Installer 属性值中可以存储多少个字符。如果你给出答案,你能提供答案的来源吗? 最佳答案 我问 Windows Installer
Cuda v9.0 有几个补丁 我应该安装最新补丁还是安装所有补丁? https://developer.nvidia.com/cuda-90-download-archive?target_os=W
我正在尝试通过它的文档安装 phalcon!在这一步我有一个错误: installation/FreeBSD Command: pkg_add -r phalcon 错误: 'pkg_add' is
我有一个安装,如果应用程序退出,它会升级该应用程序的先前版本。当安装处于升级模式时,我想跳过某些操作。如何确定安装是在升级模式还是首次安装模式下运行? 我正在使用 Wise Installer,但我认
MSI 数据库包含一个表 MsiFileHash 。根据文档MsiFileHash 表用于存储 Windows Installer 包提供的源文件的 128 位哈希。 有人知道使用/应该使用什么哈希算
我尝试在本地和全局运行 npm install browserify (-g) 但我总是遇到以下错误 npm ERR! peerinvalid The package bn.js does not s
我有一个用于我正在构建的 python 模块的 SConstruct 文件: import distutils.sysconfig env = Environment(CPPPATH=['includ
使用 Installshield 2010 和 Basic MSI 项目。 我有一个之前由我的安装程序安装的 exe。该 exe 需要在安装程序升级期间运行。有没有办法保证安装程序不会尝试关闭进程?基
我是围棋初学者。我试图编译一个 go 项目,但找不到任何解释“/...”的文档或文章。 cd ~/src/ephenation-server go install -v ./... 等待您的帮助。 最
我试过在选择和不选择‘安装Mongo指南针’选项的情况下运行安装程序,但我仍然无法安装它,也无法取消安装。然后,此设置对话冻结20-30分钟以上,没有任何进展。这实际上就是从他们的website(ht
我是一名优秀的程序员,十分优秀!