Django website no longer working problem with pip, etc..

  1. I can no longer get my django site to work…

  2. [00:25]

Downloading asgiref-3.7.2-py3-none-any.whl.metadata (9.2 kB)
Collecting asymmetric-jwt-auth==1.0.0
Downloading asymmetric_jwt_auth-1.0.0-py3-none-any.whl.metadata (4.2 kB)
Collecting attrs==23.1.0
Downloading attrs-23.1.0-py3-none-any.whl.metadata (11 kB)
Collecting autocommand==2.2.2
Downloading autocommand-2.2.2-py3-none-any.whl.metadata (15 kB)
Collecting automatoes==0.9.10
Downloading automatoes-0.9.10-py2.py3-none-any.whl.metadata (12 kB)
Collecting autossl==0.9.5
Downloading autossl-0.9.5-py3-none-any.whl.metadata (5.2 kB)
Collecting beautifulsoup4==4.12.2
Downloading beautifulsoup4-4.12.2-py3-none-any.whl.metadata (3.6 kB)
Collecting cartola==0.16
Downloading cartola-0.16-py2.py3-none-any.whl.metadata (2.0 kB)
Collecting certifi==2023.7.22
Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting cffi==1.15.1
Downloading cffi-1.15.1.tar.gz (508 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Collecting charset-normalizer==3.2.0
Downloading charset_normalizer-3.2.0-py3-none-any.whl.metadata (31 kB)
Collecting click==8.1.3
Downloading click-8.1.3-py3-none-any.whl.metadata (3.2 kB)
Collecting cryptography==36.0.1
Downloading cryptography-36.0.1.tar.gz (572 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.1/572.1 kB 66.7 MB/s eta 0:00:00

Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting cssselect2==0.7.0
  Downloading cssselect2-0.7.0-py3-none-any.whl.metadata (2.9 kB)
Collecting dependencies==7.7.1
  Downloading dependencies-7.7.1-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting Django==4.2.4
  Downloading Django-4.2.4-py3-none-any.whl.metadata (4.1 kB)
Collecting django-admin-thumbnails==0.2.8
  Downloading django-admin-thumbnails-0.2.8.tar.gz (7.0 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting django-bootstrap-v5==1.0.11
  Downloading django_bootstrap_v5-1.0.11-py3-none-any.whl.metadata (4.2 kB)
Collecting django-debug-toolbar==4.1.0
  Downloading django_debug_toolbar-4.1.0-py3-none-any.whl.metadata (3.8 kB)
Collecting django-filemanager==0.0.5
  Downloading django-filemanager-0.0.5.tar.gz (58 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting django-filer==3.3.1
  Downloading django_filer-3.3.1-py3-none-any.whl.metadata (5.7 kB)
Collecting django-js-asset==2.1.0
  Downloading django_js_asset-2.1.0-py3-none-any.whl.metadata (3.4 kB)
Collecting django-letsencrypt==4.1.0
  Downloading django_letsencrypt-4.1.0-py3-none-any.whl.metadata (4.8 kB)
Collecting django-mptt==0.14.0
  Downloading django_mptt-0.14.0-py3-none-any.whl.metadata (5.3 kB)
Collecting django-polymorphic==3.1.0
  Downloading django_polymorphic-3.1.0-py3-none-any.whl.metadata (4.6 kB)
Collecting djangorestframework==3.14.0
  Downloading djangorestframework-3.14.0-py3-none-any.whl.metadata (10 kB)
Collecting easy-thumbnails==2.8.5
  Downloading easy_thumbnails-2.8.5-py3-none-any.whl.metadata (14 kB)
Collecting easy-thumbnails-admin==0.0.3
  Downloading easy-thumbnails-admin-0.0.3.tar.gz (9.1 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
ERROR: Could not find a version that satisfies the requirement gdbm==0.0.0 (from versions: none)
ERROR: No matching distribution found for gdbm==0.0.0
(env) $ pip install --upgrade --force-reinstall --no-cache-dir `cat pipfreeze2.txt`
cat: pipfreeze2.txt: No such file or directory
ERROR: You must give at least one requirement to install (see "pip help install")
(env) $ pip install --upgrade --force-reinstall --no-cache-dir `cat pipfreeze2.txt`                                                                          .txt`                                                                           2.txt`
ERROR: You must give at least one requirement to install (see "pip help install")
(env) $
(env) $ python manage.py runserver
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/core/management/commands/runserver.py", line 125, in inner_run
    autoreload.raise_last_exception()
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/utils/autoreload.py", line 87, in raise_last_exception
    raise _exception[1]
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/core/management/__init__.py", line 394, in execute
    autoreload.check_errors(django.setup)()
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/apps/registry.py", line 116, in populate
    app_config.import_models()
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/models/__init__.py", line 1, in <module>
    from .clipboardmodels import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/models/clipboardmodels.py", line 5, in <module>
    from . import filemodels
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/models/filemodels.py", line 19, in <module>
    from ..fields.multistorage_file import MultiStorageFileField
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/fields/multistorage_file.py", line 9, in <module>
    from easy_thumbnails import fields as easy_thumbnails_fields
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/easy_thumbnails/fields.py", line 2, in <module>
    from easy_thumbnails import files
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/easy_thumbnails/files.py", line 13, in <module>
    from easy_thumbnails import engine, exceptions, models, utils, signals, storage
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/easy_thumbnails/engine.py", line 6, in <module>
    from PIL import Image
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/PIL/Image.py", line 82, in <module>
    from . import _imaging as core
ImportError: Shared object "libtiff.so.5" not found, required by "_imaging.cpython-311.so"
^C(env) pip install --upgrade --force
ERROR: You must give at least one requirement to install (see "pip help install")
(env) $ pip install --upgrade --force-reinstall --no-cache-dir pipfreeze.txt
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/mod_wsgi-4.9.5.dev1-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/automatoes-0.9.10-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/taskio-0.0.5-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/peasant-0.6-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/click-8.1.3-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/cartola-0.16-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/cryptography-36.0.1-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/PyYAML-6.0-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
ERROR: Could not find a version that satisfies the requirement pipfreeze.txt (from versions: none)
ERROR: No matching distribution found for pipfreeze.txt
(env) $ pip freeze
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/mod_wsgi-4.9.5.dev1-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/automatoes-0.9.10-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/taskio-0.0.5-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/peasant-0.6-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/click-8.1.3-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/cartola-0.16-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/cryptography-36.0.1-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/PyYAML-6.0-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
additional==0.1.0
argcomplete==3.1.1
asgiref==3.7.2
asymmetric-jwt-auth==1.0.0
attrs==23.1.0
autocommand==2.2.2
automatoes==0.9.10
autossl==0.9.5
beautifulsoup4==4.12.2
cartola==0.16
certifi==2023.7.22
cffi==1.15.1
charset-normalizer==3.2.0
click==8.1.3
cryptography==36.0.1
cssselect2==0.7.0
dependencies==7.7.1
Django==4.2.4
django-admin-thumbnails==0.2.8
django-bootstrap-v5==1.0.11
django-debug-toolbar==4.1.0
django-filemanager==0.0.5
django-filer==3.3.1
django-js-asset==2.1.0
django-letsencrypt==4.1.0
django-mptt==0.14.0
django-polymorphic==3.1.0
djangorestframework==3.14.0
easy-thumbnails==2.8.5
easy-thumbnails-admin==0.0.3
gdbm==0.0.0
idna==3.4
jsonfield==3.1.0
lxml==4.9.3
mod-wsgi==4.9.5.dev1
mysqlclient==2.2.0
peasant==0.6
Pillow==10.0.0
pyasn1==0.6.1
pycparser==2.21
PyJWT==2.8.0
pytz==2023.3
PyYAML==6.0
reportlab==4.0.4
requests==2.31.0
semantic-version==2.10.0
setuptools-rust==1.6.0
six==1.16.0
soupsieve==2.4.1
sqlite3==0.0.0
sqlparse==0.4.4
svglib==1.5.1
taskio==0.0.5
tinycss2==1.2.1
typing_extensions==4.7.1
urllib3==2.0.4
urlparse3==1.1
webencodings==0.5.1
x509==0.1
zope.component==6.0
zope.event==5.0
zope.hookable==5.4
zope.interface==6.0
(env) $

virtual environment pip freeze, trying to reinstall and upgrade

PrivateBin

(env) $ python manage.py runserver
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/core/management/commands/runserver.py", line 125, in inner_run
    autoreload.raise_last_exception()
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/utils/autoreload.py", line 87, in raise_last_exception
    raise _exception[1]
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/core/management/__init__.py", line 394, in execute
    autoreload.check_errors(django.setup)()
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/apps/registry.py", line 116, in populate
    app_config.import_models()
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/models/__init__.py", line 1, in <module>
    from .clipboardmodels import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/models/clipboardmodels.py", line 5, in <module>
    from . import filemodels
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/models/filemodels.py", line 19, in <module>
    from ..fields.multistorage_file import MultiStorageFileField
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/filer/fields/multistorage_file.py", line 9, in <module>
    from easy_thumbnails import fields as easy_thumbnails_fields
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/easy_thumbnails/fields.py", line 2, in <module>
    from easy_thumbnails import files
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/easy_thumbnails/files.py", line 13, in <module>
    from easy_thumbnails import engine, exceptions, models, utils, signals, storage
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/easy_thumbnails/engine.py", line 6, in <module>
    from PIL import Image
  File "/usr/home/sixpiece/env/lib/python3.11/site-packages/PIL/Image.py", line 82, in <module>
    from . import _imaging as core
ImportError: Shared object "libtiff.so.5" not found, required by "_imaging.cpython-311.so"
  1. [00:26]

PrivateBin

Encrypted note on PrivateBin

Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.

  1. [00:26]

the second file is my attempt to launch the program via python manage.py runserver

  1. [00:27]

it was both too long to display on discord so I shared it via a privatebin

note I had no answer on the discord so hopefully on the forums I get a reply …

Welcome @prepstarr !

My first question would be, what changed between the working status and now?

Superficially, my guess would be that there was some OS-level maintenance that was performed.

This is an indication of a system library that isn’t present. If there has been an OS upgrade that supplies a newer version of libtiff, then you may need to change the version of Pillow being installed. (The current version is 11, and is now installed as pillow.)

I do not see a library on pypi named gdbm, and it would be unusual for any library to be published there with a version number “0.0.0”. I’m guessing this was a locally developed or supplied library, and should be removed from the requirements file when using pip.

Side note: You generally use pip install -r name_of_freeze_file.txt to install the requirements from a file created by pip freeze.

Side note 2: Most people here don’t bother chasing ancillary information on external sites. If you can’t summarize the issue completely in your post, you greatly reduce the chances of getting assitance. (You have done that here, so this is fine.)

I should say right off I am fairly new to this stuff although I managed to sucessfully make a website that was useful to me with a great deal of assistance in some of the details that were troubling whether it was the use of a plugin and the bugs associated with it or getting mod_wsgi to work, ssl certificates and so forth… I do found myself at another crossroad which I am not sure as to what triggered the error…

but I have the following to offer an error message associated with pip freeze as well as the contents of pip freeze… given my lack of potential thorough expertise on this framework, f there is a very simple step that is common sense such as writing the word upgrade please don’t hold back because it might be the simple solution that I require to make this work… simultaneously if this is a complex problem please do not hesitate to go through its complexities and allow me to solve it via these methods…

(env) $ pip freeze > pipfreeze1.txt
lDEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/mod_wsgi-4.9.5.dev1-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/automatoes-0.9.10-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/taskio-0.0.5-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/peasant-0.6-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/click-8.1.3-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/cartola-0.16-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/cryptography-36.0.1-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/home/sixpiece/env/lib/python3.11/site-packages/PyYAML-6.0-py3.11-freebsd-13.1-RELEASE-p6-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
(env) $ ls
LICENSE         emploiquebec    media           smedia
README.md       emplois         pipfreeze.txt   splashpage
db.sqlite3      manage.py       pipfreeze1.txt  staticfiles
(env) $ cat pipfreeze1.txt
additional==0.1.0
argcomplete==3.1.1
asgiref==3.7.2
asymmetric-jwt-auth==1.0.0
attrs==23.1.0
autocommand==2.2.2
automatoes==0.9.10
autossl==0.9.5
beautifulsoup4==4.12.2
cartola==0.16
certifi==2023.7.22
cffi==1.15.1
charset-normalizer==3.2.0
click==8.1.3
cryptography==36.0.1
cssselect2==0.7.0
dependencies==7.7.1
Django==4.2.4
django-admin-thumbnails==0.2.8
django-bootstrap-v5==1.0.11
django-debug-toolbar==4.1.0
django-filemanager==0.0.5
django-filer==3.3.1
django-js-asset==2.1.0
django-letsencrypt==4.1.0
django-mptt==0.14.0
django-polymorphic==3.1.0
djangorestframework==3.14.0
easy-thumbnails==2.8.5
easy-thumbnails-admin==0.0.3
gdbm==0.0.0
idna==3.4
jsonfield==3.1.0
lxml==4.9.3
mod-wsgi==4.9.5.dev1
mysqlclient==2.2.0
peasant==0.6
Pillow==10.0.0
pyasn1==0.6.1
pycparser==2.21
PyJWT==2.8.0
pytz==2023.3
PyYAML==6.0
reportlab==4.0.4
requests==2.31.0
semantic-version==2.10.0
setuptools-rust==1.6.0
six==1.16.0
soupsieve==2.4.1
sqlite3==0.0.0
sqlparse==0.4.4
svglib==1.5.1
taskio==0.0.5
tinycss2==1.2.1
typing_extensions==4.7.1
urllib3==2.0.4
urlparse3==1.1
webencodings==0.5.1
x509==0.1
zope.component==6.0
zope.event==5.0
zope.hookable==5.4
zope.interface==6.0
(env) $

Those are deprecation warning messages, and can safely be ignored at this time.

Switching from doing whatever you were doing, to using pip install -r pipfreeze1.txt should get you past that.

However, you will need to determine where that gdbm is coming from. That cannot be installed using pip install without identifying the source.

Thank you for your reply. I don’t understand what is gdbm, nor since I don’t know what it is how to determine where it comes from . How does it get installed if not by pip?

You can tell pip to install from a local file - what pip can’t do is install it from pypi.

There is no library on pypi by that name, it’s up to you to determine whether or not you need it or where it comes from.