Fix python dependencies issue