尝试打开jupyter笔记本时出现nbformat错误

时间:2019-03-04 23:27:36

标签: jupyter

我正在尝试在macOS Mojave中安装Jupyter Notebook。

我已经尝试过Anaconda,但是尽管anaconda3显然安装得很好,但是bash中的路径正确,我得到了:

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 28
            }
        }
    }
}

我也尝试过

$ jupyter notebook -bash: jupyter: command not found

python3 -m pip install --upgrade pip

但是当我尝试打开python3 -m pip install jupyter后,出现此错误:

jupyter notebook

有人知道发生了什么吗? 谢谢!

1 个答案:

答案 0 :(得分:0)

您是否在环境中安装了jupyter? 我有一个类似的问题,jupyter正在启动是因为安装在venv外部,但未安装在您的环境中,这会导致nbformat问题。

<TextBox x:Name="tb1" />
<TextBox x:Name="tb2" />

<Button Content="Button">
    <Button.Style>
        <Style TargetType="Button">
            <Style.Triggers>
                <DataTrigger Binding="{Binding Text, ElementName=tb1}" Value="">
                    <Setter Property="IsEnabled" Value="False" />
                </DataTrigger>
                <DataTrigger Binding="{Binding Text, ElementName=tb2}" Value="">
                    <Setter Property="IsEnabled" Value="False" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </Button.Style>
</Button>

应该可以解决问题。

相关问题