error in installing watson-machine-learning-client

0 votes

Hi Guys,

I am trying to install the watson-machine-learning-client module using pip. But it is showing the below error.

$ pip install watson-machine-learning-client
Collecting watson-machine-learning-client
TypeError: 'encoding' is an invalid keyword argument for this function
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /pip-install-oRyoix/watson-machine-learning-client/
Sep 7, 2020 in Machine Learning by akhtar
• 38,210 points
171 views

1 answer to this question.

0 votes

Hi@akhtar,

You may get this error if you are using python 2 to install the package. This module is supported on Python 3.5 or newer versions. So install python3 in your system and then try to install this module.

Hope this helps!

If you wanna know more about Machine Learning, It's recommended to go for Machine Learning with Python course today.

Thank you!

answered Sep 7, 2020 by MD
• 95,320 points

Related Questions In Machine Learning

0 votes
1 answer
0 votes
1 answer

What is clustering in Machine Learning?

Clustering is a type of unsupervised learning ...READ MORE

answered May 10, 2019 in Machine Learning by Shridhar
399 views
0 votes
1 answer

Real world applications of Machine Learning

Few real-world applications of machine learning are  Have ...READ MORE

answered May 10, 2019 in Machine Learning by Jinu
271 views
0 votes
1 answer
0 votes
2 answers

What is supervised learning?

Supervised learning is the machine learning task ...READ MORE

answered Sep 3, 2019 in Data Analytics by anonymous
• 33,010 points
335 views
0 votes
1 answer

What is semi-supervised machine learning?

Hi@Ganesh, Semi-supervised machine learning is a combination of ...READ MORE

answered Jul 19, 2020 in Machine Learning by MD
• 95,320 points
311 views
0 votes
1 answer

What is Reinforcement learning?

Alright, let me not get into the ...READ MORE

answered May 9, 2019 in Machine Learning by Alok
441 views
0 votes
1 answer
+1 vote
1 answer

ValueError: could not convert string to float in Machine learning.

Hi@akhtar, You are trying to use constant variable ...READ MORE

answered Apr 14, 2020 in Machine Learning by MD
• 95,320 points
16,422 views