Python module requests.packages.urllib3.contrib.appengine not found

1.6k Views Asked by At

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.

2

There are 2 best solutions below

0
Dante T On

A few days ago, I had the same problem. What I did was to install Python version 3.8.x. and install Microsoft C++ Build Tools

0
Raghad On

For me upgrading Pyrebase4 to the latest version, which is right now 4.7.1, has solved this problem.