aws / sagemaker-tensorflow-serving-container

A TensorFlow Serving solution for use in SageMaker. This repo is now deprecated.
Apache License 2.0
174 stars 101 forks source link

no module named boto3 when attempting to start tfserving 1.14 container #225

Open rbavery opened 1 year ago

rbavery commented 1 year ago

Describe the bug ./scripts.start.sh results in boto3 not found error after building with ./scripts/build.sh --version 1.14 --arch cpu

To reproduce see above

Expected behavior not

→ ./scripts/start.sh                          
Traceback (most recent call last):
  File "/sagemaker/serve.py", line 14, in <module>
    import boto3
ModuleNotFoundError: No module named 'boto3'

System information A description of your system. Please provide:

Wavewash commented 1 year ago

Found the same issue with 1.13

log.txt: WARNING: Published ports are discarded when using host network mode Traceback (most recent call last): File "/sagemaker/serve.py", line 14, in import boto3 ModuleNotFoundError: No module named 'boto3'