user14635144
user14635144

Reputation: 31

ModuleNotFoundError: No module named 'mlxtend'

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.

Upvotes: 3

Views: 3581

Answers (1)

Sanardi
Sanardi

Reputation: 75

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.

Upvotes: 3

Related Questions