Enthought Canopy is a nice package that enables the math and scientific computation in Python environment. It comes with many essential packages such NumPy, SciPy, etc. However, if you need to use some other Python libraries that does not come with the installation (they call it community package). You would need to install it by yourself.

Here I am going to show you how to install the community package using PyBrain (a machine learning library) as an example (in Windows Platform).

Step 1: Download the package you need

Go the PyBrain website to download.

Setp 2: Confirm that the Canopy Python is in the PATH

Open up a system command window, type in “python”. And in the python environment, run the following commands.

If you see ‘C:\\Users\\xxx\\AppData\\Local\\Enthought\\Canopy\\User’, then you are good to go. Otherwise please refer to this post for setting the correct PATH.

Step 3: Install the package in the Windows command window

Follow the instruction in the package to install. For the PyBrain case

Step 4: Confirm the installation in the Canopy Editor command window.

You should see no error message when doing this.

Enjoy! Tell us how it works for you.

How to install community package in Enthought Canopy
Tagged on:

Please tell us what's in your mind ...

%d bloggers like this: