Git Product home page Git Product logo

Comments (4)

shayaks avatar shayaks commented on June 18, 2024

@tarynduong Thanks for the feedback! Could you share a bit more about how you're using Azure Functions and where you're running into errors?

from trulens.

joshreini1 avatar joshreini1 commented on June 18, 2024

Bump @tarynduong - can you share more about the unicode errors you're seeing with Azure Functions?

from trulens.

lkNGAT avatar lkNGAT commented on June 18, 2024

Hello,
I have the same problem on a windows machine runnning python 3.10

Tru().run_dashboard()
File "C:\Users\lkNGAT\project\venv\lib\site-packages\trulens_eval\tru.py", line 117, in __init__
print(
File "C:\Users\lkNGAT\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f991' in position 0: character maps to <undefined>

from trulens.

piotrm0 avatar piotrm0 commented on June 18, 2024

There is some discussion here: https://stackoverflow.com/questions/14630288/unicodeencodeerror-charmap-codec-cant-encode-character-maps-to-undefined

@lkNGAT @tarynduong Can you put this in your code before you import or use trulens and let us know if the issue persists:

import sys
if sys.stdout.encoding != 'cp850':
  sys.stdout = codecs.getwriter('cp850')(sys.stdout.buffer, 'strict')
if sys.stderr.encoding != 'cp850':
  sys.stderr = codecs.getwriter('cp850')(sys.stderr.buffer, 'strict')

from trulens.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.