This question is not a duplicate of Basemap error: module object is not callable
The solution to that is to ensure the b
in Basemap
is capitalised. I am getting this problem regardless of that. Here's my code:
from mpl_toolkits.basemap import Basemap
Basemap()
And here's the error:
TypeError: 'module' object is not callable
This is a simple way of recreating the error. In reality, I am mimicking code found in pysplit, in the mapdesigner.py file on line 309.
If anyone knows a way to fix this issue please let me know.
edit:
Here's the full error:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
Basemap()
TypeError: 'module' object is not callable
From an actual python file:
Traceback (most recent call last):
File "C:\Users\usr\Desktop\stuff\test2.py", line 2, in <module>
Basemap()
TypeError: 'module' object is not callable