Pkg_resources errors on building Gramps 6.0.4

I know this has been discussed before but cannot find satisfactory answer maybe me looking in wrong place

My spare Raspberry Pi5 came available so I installed a clean version of Debian 12 Bookworm and did an upgrade to Debian 13 Trixie.

Then tried to install the package version of Gramps 6.0.4

Followed the guidance in the install and got error pkg_resource deprecated error

Then tried

sudo python3 setup.py install --root=/

/usr/local/bin/gramps:4: DeprecationWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 80.9.0 documentation
import(ā€˜pkg_resources’).run_script(ā€˜gramps==6.0.4’, ā€˜gramps’)
Traceback (most recent call last):
File ā€œ/usr/local/bin/grampsā€, line 4, in
import(ā€˜pkg_resources’).run_script(ā€˜gramps==6.0.4’, ā€˜gramps’)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ā€œ/usr/lib/python3/dist-packages/pkg_resources/init.pyā€, line 752, in run_script
self.require(requires)[0].run_script(script_name, ns)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File ā€œ/usr/lib/python3/dist-packages/pkg_resources/init.pyā€, line 1726, in run_script
raise ResolutionError(
…<3 lines>…
)
pkg_resources.ResolutionError: Script ā€˜scripts/gramps’ not found in metadata at ā€˜/usr/local/lib/python3.13/dist-packages/gramps-6.0.4.egg-info’

phil

PS Is there ever going to be a .deb for version 6.

There is no panic for me with this was more interested in the Trixie upgrade and will be sticking to 5.2.4 for foreseeable future

1 Like