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)
Hi Madhav, Is your system 32bit or 64bit? How about your Anaconda installation? The two should match! Best, The 365 Team
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 --listin 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_numberHope this helps but please feel free to get back to us should you need further assistance. Best,