Skip to content

Installation on Fedora 23

Carles Mateu edited this page Mar 12, 2016 · 2 revisions

Orange 3 is currently in development, so we do not provide binary packages.

Here is what you need to do on a fresh install on Fedora 23 to get a working orange canvas:

Install dependencies and fix path:

  sudo dnf install git python-pip python-virtualenv 
  sudo dnf install python3-devel python3-numpy python3-scipy python3-PyQt4-devel python3-sip-devel gcc gcc-c++ redhat-rpm-config PyQt4-devel 
  export PATH=${PATH}:/usr/lib64/qt4/bin

Create and activate a new virtual environment

  virtualenv -p python3 --system-site-packages --distribute orange3env
  source orange3env/bin/activate

Clone orange repository, install python dependencies, build native modules

  git clone https://github.com/biolab/orange3
  cd orange3
  pip install -r requirements.txt
  pip install -r requirements-gui.txt
  python setup.py develop

If you want to play around with sql data, you also need to install psycopg2

  sudo dnf install python3-psycopg2

Run Orange Canvas

  python -m Orange.canvas

If you encounter version conflict error, you may need to upgrade system chardet module.

  sudo pip3 install --upgrade chardet