Error importing Seaborn module in Python

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

    Problem may not be associated with Seaborn but Utils package which may not be installed

    sudo pip uninstall requests

    and reinstalling, it no longer would work at all. Luckily, dnf install python-requests fixed the whole thing...

    Also check for utils package is installed or not

    You can install package using

    sudo pip install utils

    Check this link Python ImportError: cannot import name utils

提交回复
热议问题