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
416 views

1 answer to this question.

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
113 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
70 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 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 174 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
• 67,290 points
33 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
190 views