Local Install¶
Python¶
For the main required Python packages (numpy, scipy, etc.) we recommend using Anaconda for Python 3.6
Installing package and dependencies for VentMapp3r locally¶
Clone repository
git clone https://github.com/mgoubran/VentMapp3r.git VentMapp3r (or install zip file and uncompress) cd VentMapp3r
If you want to create a virtual environment where VentMapp3r can be run,
conda create -n ventmapper python=3.6 anaconda source activate ventmapper
To end the session,
source deactivate
To remove the environment
conda env remove --name ventmapper
Install dependencies
pip install git+https://www.github.com/keras-team/keras-contrib.git
If the computer you are using has a GPU:
pip install -e .[ventmapper_gpu]
If not:
pip install -e .[ventmapper]
Test the installation by running
ventmapper --help
To confirm that the command line function works, and
ventmapper
To launch the interactive GUI.
For tab completion¶
pip3 install argcomplete
activate-global-python-argcomplete
Updating VentMapp3r¶
To update VentMapp3r, navigate to the directory where VentMapp3r was cloned and run
git pull
pip install -e .[{option}] -process-dependency-links
where “option” is dependent on whether or not you have a GPU (see package installation steps above)