porting to python 3
corrected dependencies to use py3 versions
corrected syntax