我是ubuntu 16.4用户,我安装了anaconda3并同时使用了python2和python3内核。jupyter笔记本导入错误:没有名为'matplotlib'的模块
>>>jupyter kernelspec list Available kernels: python2 /home/peterkim/.local/share/jupyter/kernels/python2 python3 /home/peterkim/anaconda3/share/jupyter/kernels/python3
和..问题是,我不知道在哪里/怎么做才能安装软件包我python2 jupyter笔记本不是让错误“没有名为模块......”。 我试过pip install matplotlib
和conda install matplotlib
,我还在sys.path
上加了'/ home // anaconda2/pkgs'。
(我也装anaconda2寻找使用并行内核。之后,我意识到这是没有必要的anaconda2的方式。但我没有卸载它。)
感谢您的帮助我提前...!
首先,我会得到一个Python版本。最好是Python3版本。用'conda安装anaconda-clean'卸载Conda并重新安装 – Confidence