Error importing Seaborn module in Python

后端 未结 15 1329
长情又很酷
长情又很酷 2020-12-31 00:24

I am trying to import seaborn into python (using 2.7) using the following code:

import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
imp         


        
相关标签:
15条回答
  • 2020-12-31 01:11
    1. delete package whl file in 'C:\Users\hp\Anaconda3\Lib\site-packages'
    2. pip uninstlal scipy and seaborn
    3. pip install scipy nd seaborn agaian

    it worked for 4, win10, anaconda

    0 讨论(0)
  • 2020-12-31 01:11

    You can try using Seaborn. It works for both 2.7 as well as 3.6. You can install it by running:

    pip install seaborn

    0 讨论(0)
  • 2020-12-31 01:12

    I got same issue with Seaborn. I uninstalled python, anaconda and reinstalled anaconda 4.1.1 with python 3.6. After that installed seaboarn again

    conda install seaborn

    And it worked. If you are still facing issue, I would recommend you doing this.

    0 讨论(0)
提交回复
热议问题