Tuesday, April 7, 2020

Answer for how to fix import error?

https://365datascience.com/dwqa-answer/answer-for-how-to-fix-import-error-2/ -

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




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment