美文网首页
Linux遇到的错误|‘The package needs to

Linux遇到的错误|‘The package needs to

作者: Helen_Cat | 来源:发表于2020-03-01 12:51 被阅读0次

    [ubuntu]E: The package firmware-upgrade needs to be reinstalled, but I can't find an archive for it.

    解决办法把firmware-upgrade卸载

    <pre>sudo dpkg --remove --force-all firmware-upgrade</pre>

    然后

    <pre>sudo apt-get update</pre>
    创建环境

    创建

    conda create -n your_env_name python=your_python_version

    激活环境

    activate env_name
    为notebook 添加该环境的核

    参考1
    参考

    作者:周一米粥
    链接:https://www.jianshu.com/p/4e7df7cf6d0a
    来源:简书
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

    method 1( conda stopped automatically setting environments up as jupyter kernels)

    需要手动加kernel

    source activate myenv
    conda install ipykernel
    python -m ipykernel install --user --name mykernel #有可能不许需要

    method 2

    conda info nb_conda # python3.6似乎没有用

    method 3

    conda create -n py36_test -y python=3.6 jupyter source activate py36_test
    (py36_test) which jupyter /home/schowell/anaconda3/envs/py36_test/bin/jupyter (py36_test) jupyter notebook

    相关文章

      网友评论

          本文标题:Linux遇到的错误|‘The package needs to

          本文链接:https://www.haomeiwen.com/subject/vnufkhtx.html