dependencies error fixed for Python 3.x