Module Seaborn has no attribute ''

后端 未结 3 1402
没有蜡笔的小新
没有蜡笔的小新 2020-12-25 12:34

I am having trouble switching from ggplot2 into seaborn. Currently using Anaconda v. 4.5.8 and Python 3.6.3

Any graph I use cannot be found. For example I can tak

3条回答
  •  北海茫月
    2020-12-25 12:56

    I had this same issue. The selected answer, is correct, you have an older version, but there were a few hangups that I ran into. Here's what happened and how I corrected it. I first tried:

    conda update seaborn
    

    which did not install seaborn 0.9.0, but rather installed a 0.8.x version. I then did

    conda remove seaborn
    conda install seaborn=0.9.0
    

    which still installed an older version. I finally got it to work using pip3

    pip3 install seaborn==0.9.0
    

    Which worked properly and solved the missing plots you mentioned. As long as you do this within your conda environment, it should function as though it was a conda install.

提交回复
热议问题