Last answered:

07 Apr 2020

Posted on:

06 Apr 2020

0

how to fix import error?

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



doesnot work by seaborn and statsmodels?
2 answers ( 0 marked as helpful)
Instructor
Posted on:

07 Apr 2020

1
Hi Madhav, Is your system 32bit or 64bit?  How about your Anaconda installation?  The two should match! Best, The 365 Team
Instructor
Posted on:

07 Apr 2020

0
Hi Madhav! Thank you for providing this information. In this case, it is the modules you are trying to import that are 32-bit. Please check you have multiple environments (by executing
 conda info --list
in Anaconda Prompt/Terminal (depending on whether you are a PC/Mac user), and make sure you've installed the correct module versions in the environment you are using. Alternatively, and perhaps more simply, upgrade the modules in question using the following code structure:
 pip install --upgrade module_name
(i.e. e.g. pip install --upgrade seaborn)
and retry. Finally, if you are aware of a specific version you want to update a module to, please uninstall it by running
pip uninstall module_name
, and then by running
pip install module_name==version_number
Hope this helps but please feel free to get back to us should you need further assistance. Best,
Martin

Submit an answer