Fix setuptools in Ubuntu 24.04
This commit is contained in:
6
install
6
install
@@ -446,8 +446,7 @@ wo_install() {
|
||||
cd || exit 1
|
||||
if [ -d /opt/wo/lib/python3."$python_ver"/site-packages/apt ]; then
|
||||
source /opt/wo/bin/activate
|
||||
python3 -m pip uninstall setuptools -y
|
||||
python3 -m pip install -I setuptools==57.5.0
|
||||
python3 -m pip install -U setuptools
|
||||
python3 -m pip install -U pip wheel
|
||||
python3 -m pip uninstall psutil -y
|
||||
python3 -m pip uninstall SQLAlchemy -y
|
||||
@@ -455,8 +454,7 @@ wo_install() {
|
||||
rm -rf /opt/wo
|
||||
python3 -m venv /opt/wo
|
||||
source /opt/wo/bin/activate
|
||||
/opt/wo/bin/pip uninstall setuptools -y
|
||||
/opt/wo/bin/pip install -I setuptools==57.5.0
|
||||
/opt/wo/bin/pip install -U setuptools
|
||||
/opt/wo/bin/pip install -U pip wheel
|
||||
/opt/wo/bin/pip install -U distro
|
||||
if [ "$wo_linux_distro" = "Debian" ] || [ "$wo_linux_distro" = "Raspbian" ]; then
|
||||
|
||||
Reference in New Issue
Block a user