fork ogr2poly.py to supports python 3.
python3 -m venv venv source venv/bin/activate pip install -U pip pip install -r requirement.txt python ogr2poly.py [file] [layer]