Error importing Seaborn module in Python

后端 未结 15 1417
长情又很酷
长情又很酷 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:07

    It seams that missing dependency of python-dev, install python-dev and then try to install seaborn, if you are using Ubuntu:

    sudo apt-get install python-dev -y
    pip install seaborn
    

提交回复
热议问题