Scikit-learn, Scikit-image, Statsmodels, and Pillow (PIL) naming conventions

All Enthought Python users have access to the popular and powerful packages scikit-imagescikit-learn, statsmodels, and Pillow (PIL). These can be installed with the Enthought Deployment Manager (EDM).

For historical reasons, the following names come into play for each of these packages.

Scikit-Learn

scikit-learn - the name of the package as listed on the project's website.

scikit_learn - the name of the package to download and install.

sklearn - the name of the module to import.

scikits.learn - the name of the older version of the package, visible in Python 2 with old versions of Canopy. Do not try to install this, as it will cause conflicts.

Scikit-Image

scikit-image - the name of the package as listed on the project's website.

scikits.image - the name of the package to download and install. This older name is still being used by Enthought Python to search/install/remove the package. This is different from the official PyPI repo used by pip / easy_install, which uses scikit-image. 

skimage - the name of the module to import.

Statsmodels

Statsmodels - the name of the package to install and import.

scikits.statsmodels -the name of the older version of the package, visible in Python 2 with old versions of Canopy. Do not try to install this, as it will cause conflicts.

Pillow (Formerly PIL - Python Imaging Library)

pillow - the name of the package to install, which provides a fully compatible, but updated, replacement for pil.

PIL - the name of the package to import after you have installed pillow!

pil - the name of the older version of the package, visible in Python 2 with old versions of Canopy. Do not try to install this, as it will cause conflicts.

 

 

Have more questions? Submit a request

Comments

  • Avatar
    Umit Yalcin

    Thanks for the info--how do I install this as an academic user?  When I try to install it using the Package Manager, it asks me to subscribe.  Do I go to the scikit-learn page and just do the easy-install (since Canopy academic seems to have all the dependancies)?

     

    Thanks and regards

  • Avatar
    Jonathan March

    If it asks you to subscribe then probably you have not logged in to Canopy using your Enthought account with an academic license (Go back to the Welcome screen and log in).

Powered by Zendesk