Installation is via
pip install Augmentor
If you have to use
sudo it is recommended that you use the
sudo -H pip install Augmentor
tqdm. Note that Pillow is a fork of PIL, but both packages cannot exist simultaneously. Uninstall PIL before installing Pillow.
If you prefer to build the package from source, first clone the repository:
git clone https://github.com/mdbloice/Augmentor.git
Then enter the
Augmentor directory and build the package:
cd Augmentor python setup.py install
Alternatively you can first run
python setup.py build followed by
python setup.py install. This can be useful for debugging.
If you are compiling from source you may need to compile the dependencies also, including Pillow. On Linux this means having libpng (
libpng-dev) and zlib (