On 7/7/22 1:20 PM, Mark Sapiro wrote:
On 7/7/22 12:44 PM, David Newman wrote:
However, pip now throws a warning when looking at package info:
(venv) mailman@somehost:/home/dnewman$ pip show mailman-web WARNING: Ignoring invalid distribution -jango (/opt/mailman/venv/lib/python3.9/site-packages) ...
What does
ls -la /opt/mailman/venv/lib/python3.9/site-packages/-jango*
show? I suspect you have some spurious stuff there. The timestamps might give a clue as to how it got there.
If it shows anything,
rm -rf /opt/mailman/venv/lib/python3.9/site-packages/-jango*
will probably fix it.
That was my first thought too. But there's nothing in that directory beginning with a hyphen, not even with the -a switch.
The Django directories are as follows:
django Django-3.2.14.dist-info django_allauth-0.47.0.dist-info django_appconf-1.0.5.dist-info django_compressor-3.0.dist-info django_extensions django_extensions-3.1.5.dist-info django_gravatar django_gravatar2-1.4.4.dist-info django_haystack-3.1.1.dist-info django_mailman3 django_mailman3-1.3.7.dist-info django_picklefield-3.0.1.dist-info django_q django_q-1.3.9.dist-info djangorestframework-3.13.1.dist-info
dn