- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我有一个 Anaconda 环境(除了 root 之外),我尝试安装这两个库,但没有成功。我尝试过:
'Multiple Errors Encountered.'
'Multiple Errors Encountered.'
conda install jupyter
和 conda install matplotlib
进行安装。控制台完成了流程,它说两个图书馆都已经安装。我在 Anaconda Navigator 的库列表中检查它并它没有出现。(base) C:\Users...>cd C:\Users\Alvaro\Anaconda3\envs\tensorflow
(base) C:\Users...\Anaconda3\envs\tensorflow>conda install matplotlib Solving environment: done
All requested packages already installed.
(base) C:\Users\Alvaro\Anaconda3\envs\tensorflow>conda install jupyter Solving environment: done
All requested packages already installed.
使用 pip install jupyter
和 pip install matplotlib
安装,其结果与 conda 安装选项类似。
(base) C:\Users\Alvaro\Anaconda3\envs\tensorflow>pip install jupyter Requirement already satisfied: jupyter in c:\users\alvaro\anaconda3\lib\site-packages (1.0.0) Requirement already satisfied: notebook in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter) (5.5.0) Requirement already satisfied: qtconsole in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter) (4.3.1) Requirement already satisfied: jupyter-console in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter) (5.2.0) Requirement already satisfied: nbconvert in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter) (5.3.1) Requirement already satisfied: ipykernel in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter) (4.8.2) Requirement already satisfied: ipywidgets in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter) (7.2.1) Requirement already satisfied: jupyter-client>=5.2.0 in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (5.2.3) Requirement already satisfied: nbformat in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (4.4.0) Requirement already satisfied: ipython-genutils in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (0.2.0) Requirement already satisfied: Send2Trash in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (1.5.0) Requirement already satisfied: traitlets>=4.2.1 in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (4.3.2) Requirement already satisfied: terminado>=0.8.1 in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (0.8.1) Requirement already satisfied: jinja2 in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (2.10) Requirement already satisfied: jupyter-core>=4.4.0 in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (4.4.0) Requirement already satisfied: tornado>=4 in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (5.0.2) Requirement already satisfied: pyzmq>=17 in c:\users\alvaro\anaconda3\lib\site-packages (from notebook->jupyter) (17.0.0) Requirement already satisfied: ipython in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter-console->jupyter) (6.4.0) Requirement already satisfied: prompt_toolkit<2.0.0,>=1.0.0 in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter-console->jupyter) (1.0.15) Requirement already satisfied: pygments in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter-console->jupyter) (2.2.0) Requirement already satisfied: mistune>=0.7.4 in c:\users\alvaro\anaconda3\lib\site-packages (from nbconvert->jupyter) (0.8.3) Requirement already satisfied: entrypoints>=0.2.2 in c:\users\alvaro\anaconda3\lib\site-packages (from nbconvert->jupyter) (0.2.3) Requirement already satisfied: bleach in c:\users\alvaro\anaconda3\lib\site-packages (from nbconvert->jupyter) (2.1.3) Requirement already satisfied: pandocfilters>=1.4.1 in c:\users\alvaro\anaconda3\lib\site-packages (from nbconvert->jupyter) (1.4.2) Requirement already satisfied: testpath in c:\users\alvaro\anaconda3\lib\site-packages (from nbconvert->jupyter) (0.3.1) Requirement already satisfied: widgetsnbextension~=3.2.0 in c:\users\alvaro\anaconda3\lib\site-packages (from ipywidgets->jupyter) (3.2.1) Requirement already satisfied: python-dateutil>=2.1 in c:\users\alvaro\anaconda3\lib\site-packages (from jupyter-client>=5.2.0->notebook->jupyter) (2.7.3) Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in c:\users\alvaro\anaconda3\lib\site-packages (from nbformat->notebook->jupyter) (2.6.0) Requirement already satisfied: six in c:\users\alvaro\anaconda3\lib\site-packages (from traitlets>=4.2.1->notebook->jupyter) (1.11.0) Requirement already satisfied: decorator in c:\users\alvaro\anaconda3\lib\site-packages (from traitlets>=4.2.1->notebook->jupyter) (4.3.0) Requirement already satisfied: MarkupSafe>=0.23 in c:\users\alvaro\anaconda3\lib\site-packages (from jinja2->notebook->jupyter) (1.0) Requirement already satisfied: setuptools>=18.5 in c:\users\alvaro\anaconda3\lib\site-packages (from ipython->jupyter-console->jupyter) (39.1.0) Requirement already satisfied: simplegeneric>0.8 in c:\users\alvaro\anaconda3\lib\site-packages (from ipython->jupyter-console->jupyter) (0.8.1) Requirement already satisfied: backcall in c:\users\alvaro\anaconda3\lib\site-packages (from ipython->jupyter-console->jupyter) (0.1.0) Requirement already satisfied: pickleshare in c:\users\alvaro\anaconda3\lib\site-packages (from ipython->jupyter-console->jupyter) (0.7.4) Requirement already satisfied: colorama; sys_platform == "win32" in c:\users\alvaro\anaconda3\lib\site-packages (from ipython->jupyter-console->jupyter) (0.3.9) Requirement already satisfied: jedi>=0.10 in c:\users\alvaro\anaconda3\lib\site-packages (from ipython->jupyter-console->jupyter) (0.12.0) Requirement already satisfied: wcwidth in c:\users\alvaro\anaconda3\lib\site-packages (from prompt_toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter) (0.1.7) Requirement already satisfied: html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre in c:\users\alvaro\anaconda3\lib\site-packages (from bleach->nbconvert->jupyter) (1.0.1) Requirement already satisfied: parso>=0.2.0 in c:\users\alvaro\anaconda3\lib\site-packages (from jedi>=0.10->ipython->jupyter-console->jupyter) (0.2.0) Requirement already satisfied: webencodings in c:\users\alvaro\anaconda3\lib\site-packages (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->jupyter) (0.5.1) distributed 1.21.8 requires msgpack, which is not installed. You are using pip version 10.0.1, however version 18.0 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
用PyCharm安装,用它的解释器设置的库安装功能。安装时也会出现错误:
Install packages failed: Installing packages: error occurred. Details...
我尝试成功安装其他库(例如 sympy),但我没有使用 Jupyter 和 Matplotlib 实现它。
根环境有这个库,但我不知道是否可以从那里导入。我应该如何进行?
非常感谢
最佳答案
这篇博文解释了如何将 jupyter 安装到 virtualenv 中(免责声明:我自己没有想到): http://anbasile.github.io/programming/2017/06/25/jupyter-venv/
总结:
$ python -m venv projectname
$ source projectname/bin/activate
(venv) $ pip install ipykernel
(venv) $ ipython kernel install --user --name=projectname
关于python - 我无法在 anaconda 环境中安装 Jupyter 和 Matplotlib,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52443042/
在尝试安装 jupyter 的许多不同方法之后,它似乎没有正确安装。 根据我最近遇到的 MacOS 系统 python 问题,可能与 MacOS 相关 pip install jupyter --us
命名 Jupyter Notebook 时,如果使用空格,即 This is my notebook.ipynb 然后,当使用网络浏览器打开时,它的渲染效果非常好。然而,空格在命令行环境中是有害的。但
运行 jupyter notebook和 jupyter server给我非常相似的结果,描述也非常相似。 ❯ jupyter notebook -h The Jupyter HTML Noteboo
是否可以在 Jupyter Lab 中使用笔记本扩展 (nbextensions)? 我认为我的扩展已启用...我调用 jupyter nbextension enable事先在他们身上。但我没有在
我将 Jupyter 与 Anaconda3 结合使用。 我的 Anaconda3\ 和 Anaconda3\Scripts\ 文件夹已添加到 %PATH% 变量中。 尽管 jupyter.exe 位
我将 Jupyter 用于我公司的分析。我想制作显示一些漂亮图表的实时页面。我将在大厅的大显示器上显示此页面,我希望它自动刷新。 有什么方法可以通过刷新浏览器页面来触发“运行所有单元格”吗?或者,是否
%store 魔术功能可以保存大型 python 对象,供您在不同 session 之间使用,但我想找出文件的实际位置,以便我也可以在不同 session 之间传输它们不同的电脑。我正在使用 Wind
我在 Windows 10 的本地 Ubunto 机器上运行 Jupyter notebook。问题是所有文本都与屏幕右侧对齐,包括菜单 - 例如"file"选项卡位于最右侧。以这种方式阅读文本非常困
Closed. This question is not reproducible or was caused by typos。它当前不接受答案。 想要改善这个问题吗?更新问题,以便将其作为on-t
我尝试使用以下内容创建指向 jupyter 笔记本中标题的内部链接。 SO上的各种答案,例如here在我的笔记本中似乎没有按预期工作。下面的代码创建了一个链接,但在尝试访问该链接时没有任何 react
这个问题在这里已经有了答案: How can I share Jupyter notebooks with non-programmers? [closed] (6 个回答) 5年前关闭。 我安装了一
我试图在 jupyter notebook 中自动完成路径。按“tab”后,它显示的不仅仅是文件夹或文件。我认为这些是python的内置功能。有没有办法在自动完成路径时只显示路径和文件? 谢谢! 最佳
我在 Jupyter notebook 中组合了一些数据分析步骤。 随着数据的变化,我希望能够 重新运行所有单元格(以考虑新数据) 转换为html以供查看 我知道我可以通过 jupyter nbcon
在 jupyter 中 笔记本 , 我可以用 nbextensions 配置自动单元计时,结果是这样的: 我怎样才能在 jupyter 中做到这一点 实验室 ?我没有找到任何做类似事情的扩展。 观察:
我正在寻找一个带有 Jupter 可选组件的数据处理集群。 gcloud beta dataproc clusters create cluster-1ea3 --enable-component-g
Jupyter Notebook 的自动完成功能似乎有效,但不知何故它会显示该方法的重复选项。例如下面: 对于每个可能的选项,下拉菜单将显示 2 个相同的选项。为什么会发生这种情况以及如何解决? 最佳
每当我将 jupyter 实验室窗口推到一边时,“简单模式”就会被激活。这导致只显示一个选项卡,而其他选项卡被隐藏。这非常烦人,我不敢相信这是一个标准功能(只是再次安装了 jupyter 实验室)。
当我使用jupyter notebook时, 我希望新单元格的类型为“markdown”。 默认情况下,新单元格的类型为“代码”。我应该修改哪个配置文件以及应该更改哪个变量? 最佳答案 转到您的pyt
奇怪的是,互联网上没有关于如何在 Jupyter 环境下运行 Haskell 的说明。任何引导您实现此目的的文档都需要您从源代码编译,但是当尝试这样做时,会发生各种构建错误。 奇怪的是,一个肯定会给
在带有 ipython 内核的 Jupyter 中,是否有以非阻塞方式执行单元格的规范方法? 理想情况下,我希望能够运行一个单元格 %%background time.sleep(10) print(
我是一名优秀的程序员,十分优秀!