vmfactory requires the python packages Numpy, Networkx and Matplotlib. All these packages will be installed automatically during the installation of vmfactory, if they are not already installed.
vmfactory can be installed by unzipping the source code in a directory and running this command in a terminal
sudo python setup.py install
You can also install it directly from the Python Package Index with this command:
(sudo) pip vmfactory install