ModuleNotFoundError No module named apyori

0 votes

Hi Guys,

I am trying to import apyori module. But it is showing the below error.

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-5-346717fc90f7> in <module>
----> 1 from apyori import apriori
ModuleNotFoundError: No module named 'apyori'

How can I solve this error?

Jun 7, 2020 in Python by akhtar
• 38,170 points
4,565 views

2 answers to this question.

0 votes

Hi@akhtar.

Apyori module is generally used to find lift, confidence, etc. It is a python module. You can install this module using the pip command.

$ pip install apyori

Hope this will help.

answered Jun 7, 2020 by MD
• 95,180 points
After insatll apyori but no module name apyori
Restart your kernel if you are using Jupyter Notebook or close your command line.
0 votes
apriori is python 2.7 module so this is not working on python3.if you want to using this then update this module for python3.
answered Jun 8, 2020 by sahil
• 540 points

Related Questions In Python

+1 vote
3 answers
+2 votes
3 answers

ModuleNotFoundError: No module named 'Crypto'

The module you’ve installed is different. To install ...READ MORE

answered Aug 20, 2019 in Python by Raman
31,400 views
0 votes
2 answers

ModuleNotFoundError: No module named 'pythoncom' in pyttsx3

even i faced the same problem ...just ...READ MORE

answered Jun 2, 2020 in Python by anonymous
6,443 views
0 votes
1 answer

ModuleNotFoundError: No module named 'Foundation'

Hi@akhtar, By default Foundation module comes with Anaconda ...READ MORE

answered Apr 24, 2020 in Python by MD
• 95,180 points
807 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,046 views
0 votes
0 answers
+4 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,810 points
1,564 views
+1 vote
3 answers

ModuleNotFoundError: No module named 'cv2'

Hi@akhtar, This error may occur if you didn't install ...READ MORE

answered Apr 9, 2020 in Python by MD
• 95,180 points
65,435 views
+2 votes
2 answers

ModuleNotFoundError: No module named 'pyttsx3

Hi@akhtar, To avoid this error you have to ...READ MORE

answered Apr 24, 2020 in Python by MD
• 95,180 points
7,638 views