Closed michalmar closed 2 years ago
I got following error when deploying service based on tutorial in:
Error: ... ImportError: cannot import name 'json' from itsdangerous ...
I have fixed that by pinning version of itsdangerous library in inference.dockerfile to 2.0.1 (newer version doesn't work):
itsdangerous
inference.dockerfile
2.0.1
RUN pip install 'azureml-defaults==1.35.0' \ 'feast-azure-provider==0.2.2' \ 'scikit-learn==0.22.2.post1' \ 'joblib===1.1.0'\ 'itsdangerous==2.0.1'
I followed this SO: https://stackoverflow.com/questions/71189819/python-docker-importerror-cannot-import-name-json-from-itsdangerous
Issue is fixed and merged into main
I got following error when deploying service based on tutorial in:
Error: ... ImportError: cannot import name 'json' from itsdangerous ...
I have fixed that by pinning version of
itsdangerous
library ininference.dockerfile
to2.0.1
(newer version doesn't work):I followed this SO: https://stackoverflow.com/questions/71189819/python-docker-importerror-cannot-import-name-json-from-itsdangerous