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

python 2 will not support on Ubuntu 24.04 #276

Closed
ZiaChiu opened this issue Oct 2, 2024 · 1 comment
Closed

python 2 will not support on Ubuntu 24.04 #276

ZiaChiu opened this issue Oct 2, 2024 · 1 comment

Comments

@ZiaChiu
Copy link

ZiaChiu commented Oct 2, 2024

If you want 'lamp.sh' to work generally on Ubuntu 24.04, you should change the 963 and 964 column codes of lamp/include/public.sh

install_tools() {
   ...
        if ubuntuversion 22 || debianversion 12; then
            error_detect_depends "apt-get -y install python3"
            error_detect_depends "apt-get -y install python3-dev"
        else
963           error_detect_depends "apt-get -y install python"
964           error_detect_depends "apt-get -y install python-dev"
        fi
   ...
}

to

install_tools() {
   ...
        if ubuntuversion 22 || debianversion 12; then
            error_detect_depends "apt-get -y install python3"
            error_detect_depends "apt-get -y install python3-dev"
        else
963           error_detect_depends "apt-get -y install python3"
964           error_detect_depends "apt-get -y install python3-dev"
        fi
   ...
}
teddysun added a commit that referenced this issue Oct 2, 2024
Fixed issue #276

Signed-off-by: Teddysun <[email protected]>
@teddysun
Copy link
Owner

teddysun commented Oct 2, 2024

Thanks.
Fixed it

@teddysun teddysun closed this as completed Oct 7, 2024
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

2 participants