ninia/jep

Call a python function reported an error UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 128: illegal multibyte sequence

wangminglyx opened this issue · 2 comments

Describe the problem
I had run this demo for several months, but two days ago, i upgraded my python algorithm and run it again, it reported an error like this
Weixin Image_20240329140520
according to debugging , it fails in this part:
synchronized(this) {
this.thread.start();
try {
this.wait();
} catch (InterruptedException var4) {
if (this.error != null) {
this.error = var4;
}
}
}
how to fix this problem please?

Environment (please complete the following information):

  • OS Platform, Distribution, and Version: windows 10 professional ,22H2
  • Python Distribution and Version: 3.11.5
  • Java Distribution and Version: jdk17
  • Jep Version: 4.2.0
  • Python packages used (e.g. numpy, pandas, tensorflow): pytorch, numpy

when I changed windows language setting to utf-8, the error became this:
企业微信截图_17121286891510

This may be a problem with your python installation, does the ordinary python runtime work as expected?