GNU bug report logs - #48340
python-django: django crashes with this message, DistributionNotFound.

Previous Next

Package: guix;

Reported by: Salman Mohammadi <salman <at> smoha.org>

Date: Mon, 10 May 2021 22:45:02 UTC

Severity: normal

To reply to this bug, email your comments to 48340 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#48340; Package guix. (Mon, 10 May 2021 22:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Salman Mohammadi <salman <at> smoha.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 10 May 2021 22:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Salman Mohammadi <salman <at> smoha.org>
To: bug-guix <at> gnu.org
Subject: python-django: django crashes with this message, DistributionNotFound.
Date: Tue, 11 May 2021 00:20:32 +0200
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 <module>
    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 <module>
    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





This bug report was last modified 2 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.