how to successfully install seaborn without error

Question:

when i am running import seaborn as sns it throws me an error:

ImportError: DLL load failed while importing _cobyla: %1 is not a valid Win32 application.

How to resolve it?

Asked By: kreety kishore

||

Answers:

[Updated after comment by @mwaskom] You should fix yout SciPy installation:

pip install --upgrade --no-deps --force-reinstall scipy

The command either installs the package if not existing, or re-installs and upgrade if it is not. The dependencies are not re-installed using the --no-deps flag.

Answered By: ClaudiaR