I am trying to deploy a python web application on Heroku which uses the hashlib
module in it. I included hashlib
in the 'requirements.txt' file (All modules mentioned in the file are installed by Heroku using pip
)
However it gives me an error:
TypeError: 'frozenset' object is not callable
Some other answers like this use easy_install
, which is not supported by Heroku. Others like this and this are not useful in this case.
What should I do if I want to import hashlib
in Heroku?