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
6,483 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,950 points
828 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 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,364 views
0 votes
0 answers
+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,810 points
1,772 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,170 points
1,390 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,780 points
4,139 views