[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
source activate py36_test
(py36_test) jupyter notebook
网友评论