Docker执行报No module named 'tools.infer'
Created by: TonyK-T
我在Docker容器里面执行安装了hub,但是在 执行 hub install deploy/hubserving/ocr_system/ 还是报以下错误 from tools.infer.utility import base64_to_cv2 ModuleNotFoundError: No module named 'tools.infer'
docker执行如下:
Install paddlehub
pip3 install paddlehub --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple
Set environment variables
export PYTHONPATH=.
hub install deploy/hubserving/ocr_system/