Not able to Import scikitplot package in my Jupyter Lab

+1 vote

I am not able to import the Scikitplot package in my Jupyterlab. I am getting the following error:

--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-19-878caeeecdb5> in <module>() 

---->  1 import scikitplot as skplt 
    2 import matplotlib.pyplot as plt  
    3 #y_true = # ground truth labels 
    4 #y_probas = # predicted probabilities generated by sklearn classifier  
    5 skplt.metrics.plot_roc_curve(temp,test_y) 

ModuleNotFoundError: No module named 'scikitplot'
Feb 21, 2019 in Python by Sanam
11,277 views

1 answer to this question.

+3 votes

To overcome this issue, you need to manually install this package in Anaconda.

To install it, open Anaconda Prompt and run the below command:

Command: conda install -c conda-forge scikit-plot

Later restart the Jupyter lab and then try to import this package.

answered Feb 21, 2019 by Yami
Thank you its working
What about command for linux ubuntu??

Related Questions In Python

+1 vote
3 answers
0 votes
1 answer
0 votes
1 answer

I want to download a file from the website by web scraping. Can anyone explain how to do this in jupyter lab (python) with an example?

Hey, Web scraping is a technique to automatically ...READ MORE

answered Apr 7, 2020 in Python by Gitika
• 65,910 points
2,075 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 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,023 views
0 votes
1 answer
+5 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,790 points
3,411 views
0 votes
1 answer

Not able to take input in python

You are using python 2 in which ...READ MORE

answered Jan 31, 2019 in Python by Omkar
• 69,210 points
3,282 views
0 votes
1 answer

How can I import tensorflow libraries in my Python code?

You are doing it wrong as tf is not ...READ MORE

answered Dec 31, 2018 in Python by charlie_brown
• 7,720 points
5,833 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP