Skip to content Skip to sidebar Skip to footer

I Am Facing This Issue In Seaborn Import:

When I try running following line in Jupiter notebook > import seaborn as sns I get this error: -------------------------------------------------------------------------

Solution 1:

Okay,

so I still dont know, what was wrong in this, but I did solve the problem.

I simply uninstalled seaborn

pip3 uninstall seaborn

and installed it again

pip3 install seaborn

it worked, no error this time.

But I still dont know, what went wrong first time.

If someone can help please share.

Solution 2:

The problem is that seaborn seems to be using a private method from pandas. The issue has been reported to both pandas and seaborn developers (see https://github.com/pandas-dev/pandas/issues/16971 and https://github.com/mwaskom/seaborn/pull/1241) which both published a fix in later versions.

The fixed version is available on pip but not on Ubuntu's packages yet (as of August 2020). However, for those who don't want pip install, the fix is straightforward and can be manually applied (see the pull request above).

Post a Comment for "I Am Facing This Issue In Seaborn Import:"