PantsuDango / DangoOCR

基于PaddleOCR搭建的OCR server... 离线部署用
217 stars 27 forks source link

无法运行 #3

Closed mskgroup closed 2 years ago

mskgroup commented 2 years ago

D:\Programs\Dango\dangoocr>"./Python/python.exe" -c "import sys;sys.path.append('./Python');sys.path.append('./Python/Lib');sys.path.append('./Python/Lib/site-packages');sys.path.append('./Python/Scripts');import qpt.run as run" 2022-03-27 17:25:45,116 INFO: UA请求完毕 Traceback (most recent call last): File "", line 1, in File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\run.py", line 12, in module = RunExecutableModule("./") File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\executor.py", line 360, in init set_default_pip_lib(self.interpreter_path) File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\kernel\tools\interpreter.py", line 229, in set_default_pip_lib PIP.pip_main = PIPTerminal(interpreter_path).shell_func() File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\kernel\tools\interpreter.py", line 21, in init super(PIPTerminal, self).init() File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\kernel\tools\terminal.py", line 138, in init super(PTerminal, self).init() File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\kernel\tools\terminal.py", line 92, in init self.init_terminal() File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\kernel\tools\terminal.py", line 147, in init_terminal self._shell_func()(prepare) File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\kernel\tools\terminal.py", line 169, in closure callback.handle(self.main_terminal) File "D:\Programs\Dango\dangoocr\Python\lib\site-packages\qpt\kernel\tools\terminal.py", line 67, in handle msg = line.decode('gbk').strip("b'").strip("\n").strip(SHELL_ACT) UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 47: illegal multibyte sequence