Skip to content

Installing tensorflow version of montblanc in a Virtual Environment

Simon Perkins edited this page Dec 30, 2016 · 4 revisions

Setting up the Virtual Environment

If you want to access python packages installed by apt (e.g. meqtrees or pyqt4), use the --system-site-packages option. Also upgrade pip setuptools and wheel.

     $ cd $HOME
     $ virtualenv --system-site-packages $HOME/venv/mb
     $ source $HOME/venv/mb/bin/activate
(mb) $ pip install -U pip setuptools wheel

Checkout out the rime-tf branch

(mb) $ git clone https://github.com/ska-sa/montblanc
(mb) $ cd $HOME/montblanc
(mb) $ git checkout rime-tf

Install Montblanc within the virtual environment

(mb) $ pip install .

Install Montblanc in development mode

This means that the montblanc install in the virtual environment points back to the $HOME/montblanc source folder rather than hosting a fresh copy.

(mb) $ pip install -e .