Not able to Import scikitplot package in my Jupyter Lab

0 votes

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 in Python by Sanam
158 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 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 by Yami

Related Questions In Python

0 votes
2 answers
0 votes
1 answer

Raw_input method is not working in python3. How to use it?

raw_input is not supported anymore in python3. ...READ MORE

answered May 4, 2018 in Python by aayushi
• 750 points
83 views
0 votes
1 answer

How to write "not equal" in python?

The keywords is and is not are ...READ MORE

answered Sep 17, 2018 in Python by SayantiniDeb
• 200 points
40 views
0 votes
1 answer

how can i count the items in a list?

suppose you have a list a = [0,1,2,3,4,5,6,7,8,9,10] now ...READ MORE

answered May 2 in Python by Mohammad
• 1,400 points
25 views
+4 votes
6 answers
0 votes
1 answer

Not able to take input in python

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

answered Jan 31 in Python by Omkar
• 65,850 points
19 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,710 points
50 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.