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

Fix python version in manage.py #537

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Fix python version in manage.py #537

merged 1 commit into from
Aug 24, 2024

Conversation

michalmiddleton
Copy link
Contributor

root@tubesync-6c8bb86b79-s88cd:/app# /usr/bin/env python
/usr/bin/env: ‘python’: No such file or directory

root@tubesync-6c8bb86b79-s88cd:/app# /usr/bin/env python3
Python 3.11.2 (main, May  2 2024, 11:59:08) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

@meeb
Copy link
Owner

meeb commented Aug 24, 2024

What distro are you using where /usr/bin/env python isn't available but /usr/bin/env python3 is? Assuming this is Debian or Ubuntu based, do you have python-is-python3 installed? I don't have a particular problem with this, but I'd need to check that /usr/bin/env python3 is generally universally accepted or this will break things for other people.

@meeb
Copy link
Owner

meeb commented Aug 24, 2024

Had a check, seems /usr/bin/env python3 is relatively generic now. Thanks.

@meeb meeb merged commit 0469093 into meeb:main Aug 24, 2024
@michalmiddleton
Copy link
Contributor Author

Hi @meeb , apologies for the lack of details. I run TubeSync in the container image you provide, which is Debian 12 I believe.
TBH, it completely slipped my mind that somebody would run it in a non-containerized environment in these days :)
Thanks!

@michalmiddleton michalmiddleton deleted the patch-1 branch August 24, 2024 13:43
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

Successfully merging this pull request may close these issues.

2 participants