dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
126 stars 50 forks source link

REST service fails to start due to soft_unicode import error #101

Closed whbruce closed 2 years ago

whbruce commented 2 years ago

After building service, it fails to start with the following error

ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/dist-packages/markupsafe/__init__.py)

Two workarounds:

  1. Use container from dockerhub: intel/video-analytics-serving:0.7.0
  2. Update connexion version to 2.11.1 in requirements.service.txt and re-build.
whbruce commented 2 years ago

Fixed in v0.7.1.