Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows原生系统下部署serving问题 #973

Closed
suntao2015005848 opened this issue Jan 19, 2021 · 6 comments
Closed

windows原生系统下部署serving问题 #973

suntao2015005848 opened this issue Jan 19, 2021 · 6 comments
Assignees
Labels
multi-OS platforms deploy problems on windows/mac/other OS

Comments

@suntao2015005848
Copy link

参考https://github.com/PaddlePaddle/Serving/blob/v0.4.0/doc/WINDOWS_TUTORIAL_CN.md
运行ocr实例出现错误:
环境是python3.8
执行命令:python ocr_debugger_server.py cpu
错误:
Traceback (most recent call last):
File "ocr_debugger_server.py", line 28, in
from paddle_serving_server.web_service import WebService
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\paddle_serving_server\web_service.py", line 24, in
from paddle_serving_server import pipeline
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\paddle_serving_server\pipeline_init_.py", line 15, in
from .operator import Op, RequestOp, ResponseOp
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\paddle_serving_server\pipeline\operator.py", line 19, in
from paddle_serving_client import MultiLangClient, Client
ImportError: cannot import name 'MultiLangClient' from 'paddle_serving_client' (C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\paddle_serving_client_init_.py)

@github-actions
Copy link

Message that will be displayed on users' first issue

@suntao2015005848 suntao2015005848 changed the title windows原生系统下部署serving问题 windows原生系统下部署serving问题#question Jan 19, 2021
@suntao2015005848 suntao2015005848 changed the title windows原生系统下部署serving问题#question windows原生系统下部署serving问题 Jan 19, 2021
@suntao2015005848
Copy link
Author

docker上跑是没问题的。

@TeslaZhao TeslaZhao added the multi-OS platforms deploy problems on windows/mac/other OS label Jan 21, 2021
@bjjwwang
Copy link
Collaborator

3.8是不支持的

@bjjwwang
Copy link
Collaborator

3.7 3.6 3.5 2.7选择一个

@suntao2015005848
Copy link
Author

好的谢谢,希望在官方文档可以添加说明

@TeslaZhao
Copy link
Collaborator

v0.5.0已经支持python3.8

@paddle-bot paddle-bot bot closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multi-OS platforms deploy problems on windows/mac/other OS
Projects
None yet
Development

No branches or pull requests

3 participants