Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 610782237B9 for <~alpine/users@lists.alpinelinux.org>; Mon, 16 Sep 2024 13:53:19 +0000 (UTC) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5c43003a667so1875982a12.3 for <~alpine/users@lists.alpinelinux.org>; Mon, 16 Sep 2024 06:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726494798; x=1727099598; darn=lists.alpinelinux.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=43ogzn9JOP0z2Wptrs2+fyjj0n8nZh19NBYdZXZ+q14=; b=InWokutN9evCY/MiuS/6lJKWx8uwwMiDrlQKcdCnNnkZdE9mdhEnxiZDB5et4lMeYe 2Ht9cA6Bofe+zLE6ZdqTo4T0wqo6VcNJypx6bbMZMhxo1QORFRiqYP8NLWhzlNldbtWQ mTo8Gf7C03//y3Fko3HrglH0Usbpktg9s9tuzJ6MJBrbvsiUFljE3JBSu+d8KDrpOlkP XG5S0M9kq1Ysd4RGQkatB2cPDwFou0kv1YP/b8HDRpMbzSa7L3V42gYZCGviByuWGc6n BQRdl20jtg4srdCRHD87JHvkwSQXhlwDkrVfkLuFkogh9aSXuUklk3uZtfbh1+liWpxC 8wGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726494798; x=1727099598; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=43ogzn9JOP0z2Wptrs2+fyjj0n8nZh19NBYdZXZ+q14=; b=sFObv66dv64NbCNC4puxKwQdvWo9/1zQb5beSSE6YShemGOLDldIo4MHojDG+ckREz gtG33IZm0N/bg8s3l4i4ZlTzdX0S3XDjFtTLdWvVtt1WYGViK7stzekbV7roibta0Eve 2vZegCNGh9jmv71II0q3jz4092lGBklhaajP96FwlaxeP2yVqCBg3XejwHwyZI26CwVG yuKZKDDK7ogCU9S20/R//+99IhdmMfff+NSExUxzFXjhFiCwIpYl4rw7FwzNVImsb295 XwHg4p1iUsFOhZPxUf4v5MCFYHz3XrncP2oE08yxrNJRMfmGaO3T1cPeCYyTT2jy1sUe THfA== X-Gm-Message-State: AOJu0Yx2Gzs4+zCxjtLlS6ksfpF3q3juHByYbqzEuBp3NBIYSn/muoOG 9CgW3dszy6vzWXsdxjGrFXEPPE6fV8irkAFloJMVPJ2n8MwynzWmZ6AnDrFYhNeqE5rHrym67yi FEdhM/3NMg6RalpRCxI44VSCdZs36ZgLsRaU= X-Google-Smtp-Source: AGHT+IFhA4hPyf1mQ1xZ++PlSz+ft9/7tkR+Xk8AmDlqUHQSFv3ZdSuSeswReS5XYZZ56ccxs1QITzkXuEx5iUNkIHo= X-Received: by 2002:a05:6402:50c8:b0:5bf:afe:6294 with SMTP id 4fb4d7f45d1cf-5c41e195d48mr9764540a12.17.1726494798256; Mon, 16 Sep 2024 06:53:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amey Date: Mon, 16 Sep 2024 15:53:06 +0200 Message-ID: Subject: Re: How to downgrade python3.12 to python 3.8 in Alpine 3.20.3? To: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" On Mon, 16 Sept 2024 at 09:06, Amey wrote: > > Hello, > > On Mon, 16 Sept 2024 at 08:36, Amey wrote: > > > > Hello, > > > > My application requires python3.8 which was there in Alpine 3.12 > > I done the upgrade of Alpine from 3.12 to 3.20.3 > > > > Now my script breaks due to Python 3.12 in /usr/bin > > I forgot to mention that I am managing my python env using venv with > python3.8 packages. > > The new venv in my Alpine= > > alpine-test-vm# virtualenv --version > virtualenv 20.26.2 from /usr/lib/python3.12/site-packages/virtualenv/__init__.py Following commands helped me to install packages using pip = ============================================== virtualenv venv python3 -m venv /home/user1/app-updater/venv/ user1@alpine-test-vm:~/app-updater/venv/bin# source activate pip install docker pip install toml pip install websocket-client ...... =============================================== After installing all required packages using pip, the script started working. > > > > > apk del is unable to remove Python3.12 > > > > Any suggestions on how to achieve this? Thanks. > > > > Regards, > > Amey.