'Unable to use add_basemap in contextily

I am using python 3.8 on anaconda. I have successfully downloaded contextily module however, when im using add_basemap function, the following error occurs:

AttributeError: module 'contextily' has no attribute 'add_basemap'



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source