langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Unicode error on Windows

Open hwchase17 opened this issue 3 years ago • 1 comments

File "C:\ProgramData\Anaconda3\envs\LangChain\lib\encodings\cp1252.py", line 23, in decode
          return codecs.charmap_decode(input,self.errors,decoding_table)[0]
      UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 8: character maps to <undefined>

hwchase17 avatar Nov 26 '22 13:11 hwchase17

enabling unicode system wide (PYTHONUTF8=1) should be a temporary fix

hwchase17 avatar Nov 26 '22 13:11 hwchase17

where to put this (PYTHONUTF8=1)?

ragvendra3898 avatar Mar 20 '23 09:03 ragvendra3898