From unknown Fri Aug 15 03:38:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48340 <48340@debbugs.gnu.org> To: bug#48340 <48340@debbugs.gnu.org> Subject: Status: python-django: django crashes with this message, DistributionNotFound. Reply-To: bug#48340 <48340@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:38:25 +0000 retitle 48340 python-django: django crashes with this message, Distribution= NotFound. reassign 48340 guix submitter 48340 Salman Mohammadi severity 48340 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 10 18:44:49 2021 Received: (at submit) by debbugs.gnu.org; 10 May 2021 22:44:49 +0000 Received: from localhost ([127.0.0.1]:34484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgEds-0003bX-G3 for submit@debbugs.gnu.org; Mon, 10 May 2021 18:44:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:49370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgEGe-000339-T6 for submit@debbugs.gnu.org; Mon, 10 May 2021 18:20:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgEGe-0002Jb-Mj for bug-guix@gnu.org; Mon, 10 May 2021 18:20:48 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:60945) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgEGZ-0004Bx-Iq for bug-guix@gnu.org; Mon, 10 May 2021 18:20:48 -0400 X-Originating-IP: 89.204.155.208 Received: from [192.168.43.236] (x59cc9bd0.dyn.telefonica.de [89.204.155.208]) (Authenticated sender: salman@smoha.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 5F1F2FF805 for ; Mon, 10 May 2021 22:20:37 +0000 (UTC) To: bug-guix@gnu.org From: Salman Mohammadi Subject: python-django: django crashes with this message, DistributionNotFound. Message-ID: <301d3b0d-d187-4aa9-f401-19f5542659ec@smoha.org> Date: Tue, 11 May 2021 00:20:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=217.70.183.199; envelope-from=salman@smoha.org; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 10 May 2021 18:44:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hi, I'm running python-django on top of Debian Sid, after running $ django-admin startproject test I get this error message: Traceback (most recent call last):   File "/home/salman/.guix-profile/bin/django-admin", line 6, in     from pkg_resources import load_entry_point   File "/gnu/store/hq7qr7nc2j29z3pivm3azfjy6jq3d7nx-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in     def _initialize_master_working_set():   File "/gnu/store/hq7qr7nc2j29z3pivm3azfjy6jq3d7nx-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside     f(*args, **kwargs)   File "/gnu/store/hq7qr7nc2j29z3pivm3azfjy6jq3d7nx-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set     working_set = WorkingSet._build_master()   File "/gnu/store/hq7qr7nc2j29z3pivm3azfjy6jq3d7nx-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master     ws.require(__requires__)   File "/gnu/store/hq7qr7nc2j29z3pivm3azfjy6jq3d7nx-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require     needed = self.resolve(parse_requirements(requirements))   File "/gnu/store/hq7qr7nc2j29z3pivm3azfjy6jq3d7nx-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve     raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'Django==3.2.2' distribution was not found and is required by the application Thanks, Salman