3

Hello Everyone,

I have an issue I have to immediately deal with it. I installed mlxtend and used the library for apriori(market research). In my first attempt it worked then next day I tried to update it with new data but it gives exactly this error ModuleNotFoundError: No module named 'mlxtend'. And I read everywhere to find where my mistake is? Sadly, I couldn't find it. I updated my mlxtend to current version however, again I faced with the exact, same problem. When I try to install mlxtend I got this as it is expected "Requirement already satisfied". I would appreciate and be glad if you have any suggestions? By the way, thanks to everyone who read this.

user14635144
  • 31
  • 1
  • 3

1 Answers1

3

Are you installing it in the Conda shell or somewhere else? To ensure it gets installed in the correct environment type

%pip install mlxtend

from within the Jupyter notebook (in a cell at the top) that you are working in and execute that cell. If it installs successfully you can comment out that cell or remove it.

Sanardi
  • 75
  • 1
  • 8
  • Thank you for your time and help. However it didn't install. :( – user14635144 Nov 13 '20 at 22:25
  • I uninstalled all packages and even python and re-installed all of them. I installed properly and consider the virtualenv issue but this time it gave me this error – user14635144 Nov 14 '20 at 12:07
  • Installing build dependencies ... error ERROR: Command errored out with exit status 1: Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX" and platform_python_implementation == "CPython"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX" and platform_python_implementation != "CPython"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"".. – user14635144 Nov 14 '20 at 12:17
  • 1
    This seems to be a problem related to scikit learn. See if the solutions fro this question help you: https://stackoverflow.com/questions/29596237/import-check-arrays-from-sklearn – Flavio Moraes Nov 14 '20 at 14:47
  • @FlavioMoraes thank you sooo sooo much for your time and help! It works. I wish you the best. Again thank you – user14635144 Nov 14 '20 at 22:21