AttributeError: 'module' object has no attribute 'PyAudio'

0 votes

Hi Guys,

I have installed the module name pyaudio using the pip command. Still, it is showing the below error.

AttributeError: 'module' object has no attribute 'PyAudio'
Sep 6 in Machine Learning by akhtar
• 28,160 points
80 views

1 answer to this question.

0 votes

Hi@akhtar,

You may get this error if you are using the Anaconda environment. Instead of using the pip command install your module with conda install command as shown below.

$ conda install pyaudio.
answered Sep 6 by MD
• 65,240 points

Related Questions In Machine Learning

0 votes
1 answer

AttributeError: module 'cv2.cv2' has no attribute 'face_LBPHFaceRecognizer'

Hi@MD, LBPHFaceRecognizer module comes from a package named ...READ MORE

answered Apr 20 in Machine Learning by akhtar
• 28,160 points
3,303 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'constant'

Hi@akhtar, There may be problem in the versions. ...READ MORE

answered Apr 21 in Machine Learning by MD
• 65,240 points
4,528 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'

Hi@akhtar, Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE

answered Apr 21 in Machine Learning by MD
• 65,240 points
681 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'estimator'.

Hi@akhtar, There was an environment issue, tensorflow was ...READ MORE

answered Apr 23 in Machine Learning by MD
• 65,240 points
783 views
+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 1,453 views
0 votes
0 answers
0 votes
1 answer

AttributeError: module 'tensorflow.compat' has no attribute 'v1'

Hi@Usman, It seems you are using an older ...READ MORE

answered Jul 18 in Machine Learning by MD
• 65,240 points
1,615 views
0 votes
1 answer