question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] ERROR: /usr/bin/env: 'python': No such file or directory in Docker container

See original GitHub issue

Describe the bug All subscriptions fail with the following errors

2022-05-03T01:39:14.999Z ERROR: /usr/bin/env: 'python': No such file or directory
2022-05-03T01:39:15.001Z ERROR: Subscribe: Failed to get subscription info. Subscribe failed.

To Reproduce Steps to reproduce the behavior:

  1. Spin up a new container
  2. Add a subscription or playlist
  3. See error

Expected behavior Python exists and subscriptions work.

Environment Installation details: Installed version: v4.2 - You are up to date. Installation type: docker Docker tag: nightly Commit hash: 05ea5a8 Build date: 2022-05-02

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Tzahi12345commented, May 5, 2022

Should be fixed now in #602! ln -s method worked great, thanks @tehniemer for the report and @makzdot for the solution!

@jonathanm-ur Do you still see the crash with the latest nightly?

0reactions
GlassedSilvercommented, May 5, 2022

Maybe we track that error in another issue, so things are better tasked and the repo issues provide better help for manual troubleshooting as well by having (Multi-Issues / Overviews aside) one problem at a time as their concern.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ubuntu /usr/bin/env: python: No such file or directory
Problem scenario: /usr/bin/env: 'python': No such file or directory. Possible Solution #1. If Python 3 is not installed, install it: apt-get install python3....
Read more >
usr/bin/env: 'python': No such file or directory · Issue #5978
Describe the bug Can no longer run zap-baseline.py from weekly container To Reproduce docker run -v $(pwd):/zap/wrk/:rw --rm -it ...
Read more >
usr bin env python No such file or directory - Edureka
I am trying to run one python script to fetch dynamic IP. But it is showing me the below error. /usr/bin/env: 'python': No...
Read more >
/usr/bin/env: 'python3\r': No such file or directory But I followed ...
I know there are several questions and answers about this already, but i still can't fix my problem. :P In the video Kenneth...
Read more >
env: python: no such file or directory make: *** [release/sass.a ...
When I tried to execute python code I got the following error: env: python: No such file or directory. I installed python3 with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found