Came here in search of an answer to a problem, but didn't find it? Visit the forum @, pick a category and ask a question.

How to install Orange in Ubuntu 13.04

Orange, a Free Software released under the GNU General Public License, is a modular machine learning and data mining application developed at the Bioinformatics Laboratory, Faculty of Computer and Information Science, University of Ljubljana, Slovenia.

It is one of many Python applications that expert and aspiring data scientists may use to mess with data. Orange is cross-platform, but because there are no installation binaries for GNU/Linux distributions, installing it on your favorite distribution entails building it from source, which you can download from here.

The rest of this article shows how to build and install it from the downloaded source code. All the steps will be done from the command-line, so the first step is to start a shell terminal.

1. Change (cd)to the directory you downloaded the source code, which is delivered as a zip file, and unzip it by typing unzip The source is a nightly-build, so the date in the name of the file will not be the same for everybody.

2. Install dependencies: The build process requires GCC, Python and numpy development headers to be installed on the target machine. On a default installation of Ubuntu 13.04, Python (version 2.7) and GCC should already be installed, but not numpy (Numerical Python), so you will it by typing sudo apt-get install python-numpy.

But that’s not all. You’ll also have to install g++, build-essential, and python2.7-dev packages. Making sure all are installed will save you from dealing with errors during the build and installation process. For example, during the build stage, you will get error trying to exec ‘cc1plus': execvp: No such file or directory if g++ is not installed, and error Python.h: No such file or directory if python2.7-dev is not installed.

The Python development package you installed should match the version of Python you have installed on the machine. Replace 2.7 with the version of Python you are using. For example python3.3-dev or python3.2-dev. In Ubuntu 13.04, it is Python 2.7. Once all the required packages have been installed, you are ready to roll.

2. Build from Source: To generate an installable package for Orange, type python build. After the process has completed successfully, type sudo python install. That last command will generate a script called orange-canvas, which will be used to start Orange from the command-line.

3. Start Orange Canvas: If the last command in step two completed without errors, you may launch Orange by typing orange-canvas. However, Orange will fail to start, with the error message show in this image. The solution to that error is to install python-setuptools by typing sudo apt-get install python-setuptools. Then rerun orange-canvas.
Orange Canvas Machine Learning

Have fun playing with Orange.
Orange Canvas Machine Learning Python

To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email.
Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at


  1. Avinash says:

    Followed this to the letter. Installation was smooth. Thanks for that.
    Had a glitch, some widgets did not show up e.g. in the Visualize tab only Attribute-Statistics, Mosaic Display, Sieve Diagram and Venn-Diagram were seen. No Scatter Plot, RadViz etc.
    After some googling, found the answer @

    In the context of Ubuntu simply execute the command:
    sudo apt-get install python-qwt5-qt4


  2. rgap says:

    Windows Orange appears to have more features, is there a way to add them?

  3. Andor Kiss says:

    Awesome, thanks – that fixed it.

    Do you (by chance) know how to install the orange-bioinformatics add-on for Ubuntu?

    Do I just use:

    $ pip install Orange-Bioinformatics

    Or do I have to first build the modules from Source and the install. If I have to build and install, do I have to build and install the orange-bioinformatics in the directory that I built and installed the orange-canvas from?


  4. Andor Kiss says:


    Everything went well except for two modules:

    $ orange-canvas
    /usr/local/lib/python2.7/dist-packages/Orange/ UserWarning: Some features will be disabled due to failing modules
    Importing ‘classification.neural’ failed: No module named scipy.sparse
    /usr/local/lib/python2.7/dist-packages/Orange/ UserWarning: Importing ‘regression.lasso’ failed: No module named scipy.linalg

    How do I correct this?


    • finid says:

      Those modules did not come with Numpy, but are available with Scipy, so you can solve that error by installing the python-scipy package, or python3-scipy, if you are using any version of Python 3.

      sudo apt-get install python-scipy.

Leave a Comment