Hii all, I am trying to execute a task using flyte...
# ask-the-community
d
Hii all, I am trying to execute a task using flyte,I've previously registered the task to the flyteadmin, I didn't use flyte's default image, I've used my pre-build image, but when I tried executing the task, it keeps throwing the error saying,
Copy code
standard_init_linux.go:228: exec user process caused: no such file or directory
when the container is starting, The image is getting pulled and it was able to locate the
pyflyte-fast-execute
executable, after that it keeps throwing the above error, is it due to any missing dependencies, I've installed only the
flytekit
pip package inside my container regarding flyte, does it requires anything else to be installed? Thanks in advance :)
k
Seems like the pythonpath is incorrect
d
which means, where should it supposed to point to? @Ketan (kumare3)
s
Could you share your Dockerfile? Here's one that we're using: https://github.com/flyteorg/flytesnacks/blob/master/examples/basics/Dockerfile
d
Yea, thanks @Samhita Alla, it was due to the $PATH variable, which was not pointed to the right python interpreter, now it was resolved.