Python Forum
python charmap codec can't decode byte X in position Y character maps to < undefined>
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python charmap codec can't decode byte X in position Y character maps to < undefined>
#1
I'm experimenting with python libraries for data analysis,the problem i'm facing is this exception

Quote:UnicodeDecodeError was unhandled by user code Message: 'charmap' codec can't decode byte 0x81 in position 165: character maps to < undefined>

I have looked into answers with similar issues and the original posterĀ seems to be either reading text with different encoding or printing it.

In my code the error shows up at import statement,that's what confuses me.
[Image: 4ZINb.png]


I'm using python 64 bit 3.3 on Visual Studio 2015 and geotext is the library where it shows the error.

Kindly point as to where to look to deal with this error.
Reply


Messages In This Thread
python charmap codec can't decode byte X in position Y character maps to < undefined> - by owais - Mar-21-2017, 05:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with nested maps Unkovic 10 1,453 Nov-01-2023, 03:45 PM
Last Post: Unkovic
  Python rule about the space character surrounding the equal sign ineuw 10 1,703 Sep-21-2023, 09:17 AM
Last Post: ineuw
  How do I handle escape character in parameter arguments in Python? JKR 6 1,253 Sep-12-2023, 03:00 AM
Last Post: Apoed2023
Question UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 562: ord ctrldan 23 5,019 Apr-24-2023, 03:40 PM
Last Post: ctrldan
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 16: invalid cont Melcu54 3 5,088 Mar-26-2023, 12:12 PM
Last Post: Gribouillis
  Decode string ? JohnnyCoffee 1 840 Jan-11-2023, 12:29 AM
Last Post: bowlofred
  [SOLVED] [Debian] UnicodeEncodeError: 'ascii' codec Winfried 1 1,044 Nov-16-2022, 11:41 AM
Last Post: Winfried
  UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 34: character Melcu54 7 19,199 Sep-26-2022, 10:09 AM
Last Post: Melcu54
  undefined function error JonWayn 5 1,491 Sep-11-2022, 03:38 AM
Last Post: JonWayn
  Undefined Led_Zeppelin 4 1,445 Aug-02-2022, 11:57 AM
Last Post: buran

Forum Jump:

User Panel Messages

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