【问题标题】:Jupyter notebook custom.css in created environment创建环境中的 Jupyter notebook custom.css
【发布时间】:2017-10-10 09:00:57
【问题描述】:

有人知道如何为 conda 环境设置 custom.css 吗?

我使用

创建了一个新环境
conda create -n myenv

但它没有使用我在默认环境中创建的相同 custom.css。

知道我应该把 custom.css 文件放在哪里让 Jupyter 使用它吗? 我使用的是 Windows 7。

【问题讨论】:

    标签: css jupyter-notebook jupyter conda


    【解决方案1】:

    请参阅文档here,了解默认情况下路径的位置(对于 conda,您可能会查看 {sys.prefix}/etc/jupyter 路径)。

    或者你可以在你的 conda 环境 shell 中运行 jupyter --paths 来找出它在哪里寻找自定义文件。

    【讨论】:

    • 谢谢!使用 --path 表明环境已安装在您指定的位置。然后我不得不将我的 custom.css 复制到 myenv\share\jupyter\custom\
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-19
    • 1970-01-01
    • 2018-08-24
    • 2021-06-07
    • 2020-04-03
    • 2021-05-27
    相关资源
    最近更新 更多