mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-04 00:05:36 +08:00
fix python 3.12 installation on ubuntu 22
This commit is contained in:
parent
f7e4394f34
commit
4204b356d7
@ -16,7 +16,9 @@ apt install software-properties-common -y
|
|||||||
add-apt-repository ppa:deadsnakes/ppa -y
|
add-apt-repository ppa:deadsnakes/ppa -y
|
||||||
apt update -y || exit 1
|
apt update -y || exit 1
|
||||||
apt install "$python_package" -y || exit 1
|
apt install "$python_package" -y || exit 1
|
||||||
|
apt install "$python_package-dev" -y || exit 1
|
||||||
apt install "$python_package-venv" -y || exit 1
|
apt install "$python_package-venv" -y || exit 1
|
||||||
|
apt install python3-dev -y || exit 1
|
||||||
|
|
||||||
[[ -d "$script_dir/$venv" ]] && rm -r -f "$script_dir/$venv"
|
[[ -d "$script_dir/$venv" ]] && rm -r -f "$script_dir/$venv"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user