ImportError: No module named ‘scikits’ – Python Fix Jupyter Notebook

If you have the above problem, to fix this, follow these guidelines as advised by Flowerowl  at this link (https://github.com/muricoca/crab/issues/92):

The steps are as follows:

 

Don’t install crab in this way: pip install crab / easy_install crab
You can find crab in pypi.python.org, this is not our scikits.crab source
Solution:
git clone https://github.com/muricoca/crab.git
python setup.py install
good luck ~

 

Now the details:

  1. Visit the github link and clone or download. In this guide, I will download
    clone or download
  2. Download and unzip into your default windows working directoryno module scikits crab1
  3. Now go to command prompt on windows and change into the crab-master directory and further into it, to get to the install fileno module scikits crab installation problem
  4. Now run the python setup.py install command 
  5. Scikits.crab will be installed. Just note the path to the installation package  sckits.crab installed packagewindows scikits crab installed package
  6. Now add this path to your system variables to make it work.
  7. These are quick steps to access your system variables on Windows 10 PC
  8. Type “variables” or “system variables” into your start menu “search box” 

 

environmental variable on windows 10

 

9. From the resulting window, click on the Advanced Tab and then Environment Variables

 

add scikits crab package to system variables

 

10. Locate the “Path” and click on “Edit…”

 

11.  Click on “New” and then Add your pathscikit learn sklearn crab python system environment variable

 

12.  To test it, now, change into your Python environment by typing “python” at the command prompt

13.  And then import try and import from scikits.crab import datasetsfrom scikits import crab

 

13. It works fine in Jupyter notebook.

crab jupyter notebook

 

14.  Hope this helps you 🙂

15. To illustrate fixes worked fine and code runs fine, check the crab example code here:Crab Recommender System installation error fix example code

16. Watch a quick video of the fix here:

Want more information like this?

Similar Posts

  • | | | | |

    Java Python R SQL Excel Compared Similarities For Data Science and Data Analytics – The Basics

    If you have ever worked with Java, Python, R, SQL, Excel and other Languages on a varied Data Science or Data Analytics projects, you will realise that all these languages have similar syntaxes, or at least, can achieve the same objective with very similar codes.   Below is a comparison and similarities of these various tools…

  • Python Bokeh plotting Data Exploration Visualization And Pivot Tables Analysis

    This is a quick walk through Bokeh data exploration and visualization and also python pivot_tables (credit to pbpython on the pivot_tables).Visualization Dashboard In [49]:

      In [50]:

     

    In [51]:

      Out[51]: First Name Last Name Sex Phone Fax Email Address Booking Date Departure Date Arrival Date Address1 … Number of Passengers Total Cost Currency…

  • | |

    Natural Language Processing Machine Learning Algorithm Model Python – NLP

    In this guide, we take a look at Natural Language Processing, NLP in Python. Natural Language is a very extensive topic and very powerful machine learning algorithm you can build. This is very useful in many areas of most industries. Credits to Jose Portilla, creator of Learning Python for Data Analysis and Visualization course   on Udemy  …

  • Aggregation – Pandas Numpy Python Series DataFrame

      In this quick notes, we will go through aggregation in Python. This is part of lectures on Learning Python for Data Analysis and Visualization by Jose Portilla on Udemy.

      url = “http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/” In [2]:

      In [4]:

      Out[4]: fixed acidity volatile acidity citric acid residual sugar chlorides free sulfur dioxide total sulfur dioxide density…

  • Opening and Reading Text Files by Buffer Size – Python

    Today, I went through “Opening and Reading Text Files by Buffer Size” with a friend of mine who wanted to grasp the basic concepts of Python This is a simple but straightforward tutorial into the “Opening and Reading Text Files by Buffer Size We further delved into opening and reading binary files. In our case…

  • Matplotlib Pyplot Plt Python Pandas Data Visualization Plotting

      This is some quick notes about graphing or plotting graphs with Matplotlib in Python. Credits to sentdex.  You can check him out on Youtube.

      In [4]:

      In [10]:

      In [14]:

      In [20]:

      In [23]:

      In [30]:

      Out[30]:

    In [48]:

        Want more information like this?

Leave a Reply

Your email address will not be published. Required fields are marked *