Remote interpreter on Docker fails with public.ecr.aws/lambda/python:3.13 image

Completed

On the last step of setting remote interpreter where you choose python path it fails with

"Python interpreter process exited with a non-zero exit code -1

Python 3.13.9"

I tried to change my Dockerfile adding in the end
ENTRYPOINT []
CMD []

or 

ENTRYPOINT ["/bin/bash"]

It didn't help.

 

In the end of build log there is

 

Successfully built 306e4429662b
Build completed

Launching introspection container…
Done, container launched: e1d1aea0b9e7
#/usr/bin/which python3
OCI runtime exec failed: exec failed: unable to start container process: exec: "/usr/bin/which": stat /usr/bin/which: no such file or directory: unknown
Process finished with exit code 127
#sh -c type -P python3
/var/lang/bin/python3
Process finished with exit code 0
Introspecting image environment variables…
Done, 13 variables found in the inspect results
Introspecting $HOME: not found
#pwd
/var/task
Process finished with exit code 0
Introspection completed
Removing introspection container
 

0
1 comment

Hi Evgenyleonenko, this issue requires a more detailed investigation. Please create an issue on YouTrack (https://youtrack.jetbrains.com/issues/PY) and attach all relevant information - including the sample of docker-compose.yml, Dockerfile and the IDE logs collected via Help | Collect Logs and Diagnostic Data right after reproducing the problem?

Providing these details will help us diagnose and resolve the issue more quickly.

0

Post is closed for comments.