Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

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

Open
rbavery opened this issue Jul 19, 2022 · 1 comment
Open

Comments

@rbavery
Copy link

rbavery commented Jul 19, 2022

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:

  • Toolkit version:
  • Framework version:
  • Python version:
  • CPU or GPU:
  • Custom Docker image (Y/N): N
@Wavewash
Copy link

Wavewash commented Sep 6, 2022

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants