-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeEncodeError in zip.write() #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm attempting to get this sample (which builds a container image from notebook in the "Define a SageMaker Model Monitor schedule" section) running in SageMaker Studio, using the new CLI.
Essentially there is a
./docker/
folder next to my notebook containing just aDockerfile
andevaluation.py
script.However when I run:
(Or same without specifying the
--file
or--repository
options, or omitting the:latest
tag) I get the following error:It's a weird error so I could well be doing something stupid - but am wondering if there's an implicitly assumed encoding somewhere which is clashing with this kernel's environment?
I don't have any special chars in filenames, and am running Studio kernel Python 3 (PyTorch CPU Optimized).
Any ideas or insights greatly appreciated!
Full steps to reproduce
(From the referenced public sample above)
pip install
s at the top! unzip ...
command with something like the following (since Studio kernels don't have unzip installed by default)# Create ECR repository and push docker image
: Execute just the first (Python) half and run the abovesm-docker
command instead of the sample's!docker build ...
line.The text was updated successfully, but these errors were encountered: