Skip to content
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

No such file or directory: 'python' #24

Closed
zombimaster opened this issue Jul 18, 2022 · 2 comments
Closed

No such file or directory: 'python' #24

zombimaster opened this issue Jul 18, 2022 · 2 comments

Comments

@zombimaster
Copy link

how to resolve this issue
image

@mihino89
Copy link

Hi, I had a same problem in clean Ubuntu distribution, the problem is that subprocess can not find python in PATH. My quick fix was to hardcode pathname to python script in "blackbird.py", e.g. see on the snippets. Hope this will resolve your problem.

Before:

command = subprocess.run(("python", "webserver.py"))

After:

command = subprocess.run(("/usr/bin/python3", "webserver.py"))

@p1ngul1n0
Copy link
Owner

@Pandede just fixed this issue with the last commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants