Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
understanding error message
#1
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)
buran write Oct-24-2021, 06:51 PM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Reply
#2
It means that there is no variable named 'cmaps' in the module 'geocat.viz'.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error message about iid from RandomizedSearchCV Visiting 2 934 Aug-17-2023, 07:53 PM
Last Post: Visiting
  Understanding and debugging memory error crashes with python3.10.10 Arkaik 5 1,978 Apr-18-2023, 03:22 AM
Last Post: Larz60+
  Another Error message. the_jl_zone 2 943 Mar-06-2023, 10:23 PM
Last Post: the_jl_zone
  Mysql error message: Lost connection to MySQL server during query tomtom 6 15,685 Feb-09-2022, 09:55 AM
Last Post: ibreeden
  Error message pybits 1 36,087 May-29-2021, 10:26 AM
Last Post: snippsat
  f-string error message not understood Skaperen 4 3,269 Mar-16-2021, 07:59 PM
Last Post: Skaperen
  Overwhelmed with error message using pandas drop() EmmaRaponi 1 2,301 Feb-18-2021, 07:31 PM
Last Post: buran
  Winning/Losing Message Error in Text based Game kdr87 2 2,928 Dec-14-2020, 12:25 AM
Last Post: bowlofred
  Don't understand error message Milfredo 2 1,995 Aug-24-2020, 05:00 PM
Last Post: Milfredo
  what to do about this error message deric23 0 1,885 May-15-2020, 02:49 PM
Last Post: deric23

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020