This message was deleted.
# ask-for-help
s
This message was deleted.
b
do you have Docker installed on your machine?
f
I have the Docker Desktop App installed, which I assume would also install the dependencies needed here
b
You might need to enable buildkit too
what OS?
f
Win10
b
i'm not sure about WIn10 but does running the command
docker buildx
output anything?
I get the following:
Copy code
docker buildx

Usage:  docker buildx [OPTIONS] COMMAND

Extended build capabilities with BuildKit

Options:
      --builder string   Override the configured builder instance

Management Commands:
  imagetools  Commands to work on images in registry

Commands:
  bake        Build from a file
  build       Start a build
  create      Create a new builder instance
  du          Disk usage
  inspect     Inspect current builder instance
  ls          List builder instances
  prune       Remove build cache
  rm          Remove a builder instance
  stop        Stop builder instance
  use         Set the current builder instance
  version     Show buildx version information

Run 'docker buildx COMMAND --help' for more information on a command.
This is on linux though
f
same thing for me
b
ok that's good
Could be that
Copy code
/home/bentoml/bento/env/python/install.sh
is failing for some reason
f
hmmm... do you see any potential reason why that might happen?
b
Can you re run the command with
Copy code
--verbose
f
You mean the containerization command?
b
yup
bentoml containerize your-bento --verbose
f
aha!
#12 19.08 ERROR: Could not find a version that satisfies the requirement tensorflow-intel==2.11.0 (from versions: 0.0.1)
#12 19.08 ERROR: No matching distribution found for tensorflow-intel==2.11.0
b
hurray
f
there's our culprit
b
intel-tensorflow
not tensorflow-intel
😛
f
haha
Thanks yet again!
b
no problemo
f
@Benjamin Tan Okay it seems solving this isn't as easy as I thought it was ^^° The requirement indeed seems to be called tensorflow-intel, however I'm not using that package at all. I'm simply using tensorflow and keras, so I'm not sure where this error is even coming from or why it's trying to get this package.
b
huh that's weird.
This i assume
f
yup, should be the one
b
What's the python version that you are using?
You probably want something from 3.7 to 3.10
f
3.9 I believe
b
could u paste your bentofile?
f
yup, 3.9.7
one sec
b
one sec
i think u can specify the python version in here too
Copy code
docker:
    python_version: "3.9"
could u add this too?
f
I'll give that a shot
I assume I'll have to rebuild the bento firt?
*first
b
yeah
f
okay before I did that I tried again and now it suddenly containerized it without error
I am so confused o.O
b
LOL
pip is drunk
f
"Have you tried running it again?" in a nutshell
🙃 1
okay but while we're here - how would I go about seeing this image in my Docker Desktop app?
b
once you do
bentoml containerize <>
it should be listed there somewhere
f
hmmm... it doesn't show up in the Images tab 🤔
b
yay
f
doesn't seem like anything went wrong building the image though
b
does the command
docker run ...
work?
let me check on my side
f
yup, oddly enough it does
oooooooh
after running it in now shows up inside docker
🍱 2
b
ah yes
great success
f
well good to know this for the future ^^
Still no idea what that pip hiccup was about, but at least it works now haha
🎉 1
b
80% of all problems is turning it off and on again
f
Yup
xD
Anyway - Have a wonderful rest of your day and thanks for all the help!
b
You too! ❤️
f
♥️