Skip to content
Advertisement

how to successfully install seaborn without error

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?

Advertisement

Answer

[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.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement