If I try to import pyrebase4 (import pyrebase) I get the error message ModuleNotFoundError: No module named 'requests.packages.urllib3.contrib.appengine'. Downgrading the requests package to 2.15 solves the error but causes AttributeError: module 'collections' has no attribute 'MutableMapping'.
This error could not be resolved by replacing collections.MutableMapping with collections.abc.MutableMapping.