Install Jupyter Notebook on Miniconda

前端 未结 3 400
抹茶落季
抹茶落季 2020-12-08 07:25

I installed Miniconda and I\'m trying to use Jupyter Notebook with it but haven\'t been able to do so. After installing miniconda I ran the

3条回答
  •  甜味超标
    2020-12-08 08:08

    I needed matplotlib in python, and need jupyter working. The package will try to uninstall matplotlib if you uninstall tornado, unless you do a force. But I still need matplotlib, I need that. So I still need to force matplotlib to use the old version of tornado. Turns out I had two tornado versions, one installed by pip, other installed by conda.

    Ultimately running these commands got jupyter and matplotlib working again: (Ran it in the conda environment that was broken.)

    conda remove tornado --force # keeps matplotlib
    pip uninstall tornado
    conda install tornado=4.5.3
    

    I earlier had used pip to install tensorflow library, which I also need, and maybe it brought along the junky tornado v5, not sure.

提交回复
热议问题