Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uFUki-00555F-Rc for pgsql-admin@arkaria.postgresql.org; Thu, 15 May 2025 09:19:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uFUkh-00DM8U-Vc for pgsql-admin@arkaria.postgresql.org; Thu, 15 May 2025 09:19:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uFUkh-00DM8M-KY for pgsql-admin@lists.postgresql.org; Thu, 15 May 2025 09:19:43 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uFUke-0020HC-2R for pgsql-admin@lists.postgresql.org; Thu, 15 May 2025 09:19:43 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5fbf1026309so115654a12.0 for ; Thu, 15 May 2025 02:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747300779; x=1747905579; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=MqjWebzVsVw1pe8agf+5gWa7fUeOxjI6H/txC+H51RU=; b=Ks0oKKE+dajoeL9KDgcE73Jt2zldpDbMwZgGukm5AJYAFLcWzu11i3PVTb21SMjBqX Lk+eZ3CfZg9hqlT3N19Qv7srYOyPxzGYP6V+lCfN/SXRGmV073YM6z1FO1CZWZE51xPE OxyXdwaclokvMOmzDDDgkbMODSr3Cxs+hG5/6/r0+qS328htF5iEC/qLZMW5k3I1yZhV +RLEHqwRVKQp4o72k5cQyWlCLu6J7AdGz4oit72V4YXyAB1xYBS1nPq0Mf47OpB+0z5G xE5hbgMxngzWu4g29hJltsIH2okeidGSQuvLagxaTS1M3GxfGm7O8vd4nqn6ZnwbwLrv 5jeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747300779; x=1747905579; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MqjWebzVsVw1pe8agf+5gWa7fUeOxjI6H/txC+H51RU=; b=a+mZV6jkQhooJsyrmw9r1vAOW5/dkwEP8a/k68SjKVI+lqMnCpOxi3xhnaY7PKMBYx NdZuo52MXfFvCcLfiAmwDaAc2Wf9hDQvj27JE9CviF7mWio3OGStNYtLgzjmP0oBkr70 5dQvaTVQ85wtguKa5ssTRxS/vMuHawxcg/GMG9+0Kygz9N8UkUjYGKCQ5dsdecD4aCGj stzX2/vKzIEG0JRO2Bu5JqWwQ2T21qq7So9W6nnXIcOK1NZiBVU/oI5ChsvCdjgNAUu+ vKGrBf7Jm2WwfEJwooNGuZ9NTl+ESGDW1/3YOo2cAzg8SPtqQLpZUQdZzWmbr3DS1I3X IJKg== X-Gm-Message-State: AOJu0Yzze+RLJUtYgV1mwh7vzO75BsGecA/ZDpmMD33Gshow3U1VmJ4z xxyw3aSq8gmpc8UQLFgawBoDpGY+QEDAryN4RpDPQJK71YcrPfl9wjo0Xr5VSuhrSpbCV7AcN8e aO5gcbtDbdy6qd5Gb1Lp1iADHNfGdszzdjM8= X-Gm-Gg: ASbGncshAKKTaCNcplQ23Nl8OlwsNRiE+Q3MHIFk/S87MjWa96ZDkyMYflvsYh+IgGG XqSnQbNQQdBFGjm/quKByfR7rOzg5/x07QwsQLfsAHCrzptuWgMJim58dDWqmMg2TbQAK+KTPH+ B8xd5Lo9ZWKpsxV3FDwOmy2co+bHxBJ5AJiw== X-Google-Smtp-Source: AGHT+IGF53eWSpc7qNHnAkAvi5KOsHokuidKF80nH4jwRnV5opQ7qkBZhx0p2SOTjem77Hk3maXXfc2PYjODFOxr30U= X-Received: by 2002:a05:6402:510d:b0:5e0:803c:243d with SMTP id 4fb4d7f45d1cf-5ff988dbb88mr2290087a12.7.1747300779373; Thu, 15 May 2025 02:19:39 -0700 (PDT) MIME-Version: 1.0 From: Daulat Date: Thu, 15 May 2025 14:49:27 +0530 X-Gm-Features: AX0GCFsJCL7BnrqAfx1v0G9lmFg_uA_rzU89-y4m9XytXzQEg36xG-TZgoe7xXI Message-ID: Subject: pgAdmin 4 in web mode on an Ubuntu 20.04 (Focal) system. To: pgsql-admin Content-Type: multipart/alternative; boundary="000000000000453b650635292a3f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000453b650635292a3f Content-Type: text/plain; charset="UTF-8" Hello Team, I am currently facing an issue while installing pgAdmin 4 in web mode on an Ubuntu 20.04 (Focal) system. Error: /usr/pgadmin4/venv/bin/python3: can't open file '/usr/pgadmin4/web/setup.py': [Errno 2] No such file or directory ls -l /usr/pgadmin4 total 24 drwxr-xr-x 4 root root 4096 May 15 09:01 bin -rw-r--r-- 1 root root 11206 Apr 2 10:26 sbom-desktop.json -rw-r--r-- 1 root root 474 Apr 2 10:26 sbom-web.json drwxr-xr-x 6 root root 4096 May 15 08:58 venv Since the pgAdmin installation did not automatically create the required virtual environment, I manually set it up using python3.8 -m venv /usr/pgadmin4/venv, but the setup still fails due to a missing setup.py file in /usr/pgadmin4/web/ sudo python3.8 -m venv /usr/pgadmin4/venv source /usr/pgadmin4/venv/bin/activate I followed the following steps from https://www.pgadmin.org/download/pgadmin-4-apt/ Please advise. Thanks, --000000000000453b650635292a3f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Team,

I am currently facing an issue while installing pgAdmin 4 in web mode on an= Ubuntu 20.04 (Focal) system.

Error:=C2=A0

/usr/pgadmi= n4/venv/bin/python3: can't open file '/usr/pgadmin4/web/setup.py= 9;: [Errno 2] No such file or directory

ls -l /usr/pgadmi= n4
total 24
drwxr-xr-x 4 root root =C2=A04096 May 15 09:01 bin
-rw= -r--r-- 1 root root 11206 Apr =C2=A02 10:26 sbom-desktop.json
-rw-r--r--= 1 root root =C2=A0 474 Apr =C2=A02 10:26 sbom-web.json
drwxr-xr-x 6 roo= t root =C2=A04096 May 15 08:58 venv

Since the = pgAdmin installation did not automatically create the required virtual envi= ronment, I manually set it up using python3.8 -m venv /usr/pgadmin4/venv, b= ut the setup still fails due to a missing setup.py file in /usr/pgadmin4/we= b/

sudo python3.8 -m venv /usr/pgadmin4/venv
so= urce /usr/pgadmin4/venv/bin/activate

I followed th= e following steps=C2=A0from=C2=A0

Please advise.

Than= ks,


--000000000000453b650635292a3f--