Python Forum

Full Version: understanding error message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm new to python language...

Could someone please help me understand why this error message is appearing when calling dependencies?
Error:
------------------------------------------------------------------SCRIPT---------------------------------------------------------------------- import geocat.viz.util as gvutil from geocat.viz import cmaps as gvcmaps -------------------ERRO-------------------------------------------------------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-34-f4ac75357eef> in <module> 12 13 import geocat.viz.util as gvutil ---> 14 from geocat.viz import cmaps as gvcmaps 15 16 ImportError: cannot import name 'cmaps' from 'geocat.viz' (/home/carlos/anaconda3/lib/python3.8/site-packages/geocat/viz/__init__.py)
It means that there is no variable named 'cmaps' in the module 'geocat.viz'.