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:

Similar Posts

Leave a Reply

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