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

1 answer to this question.

+2 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

Related Questions In Python

+1 vote
2 answers

Not able to install speech_recognition in python: ModuleNotFoundError: No module named 'speech_recognition'

Hey. You have to use SpeechRecognition as module ...READ MORE

answered Nov 28, 2018 in Python by Omkar
• 68,840 points
0 votes
1 answer
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
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
0 votes
1 answer
+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 517 views
0 votes
0 answers
+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, 2019 in Python by Omkar
• 68,840 points
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