Check the python version and the package compatibility with that version. In my case, I was installing the lower version of the package with the latest python which was causing issues. Once I install a compatible python version it worked well