basemap is not yet compatible with pyproj 2.* (which uses proj.4 v6):
...
from mpl_toolkits.basemap import Basemap, Polygon
.../lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py:152: in <module>
epsgf = open(os.path.join(pyproj.pyproj_datadir,'epsg'))
E AttributeError: module 'pyproj' has no attribute 'pyproj_datadir'
basemap is not yet compatible with pyproj 2.* (which uses proj.4 v6):