ckan / ckan

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers catalog.data.gov, open.canada.ca/data, data.humdata.org among many other sites.

Home Page:https://ckan.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'pkg_resources'

k3ybladewielder opened this issue · comments

CKAN version

2.9

Describe the bug

Just try to install following the tutorial on documentation to install with from package. When try to install the .deb file with the command sudo dpkg -i python-ckan_2.9-py3-focal_amd64.deb, the following error occurs

(Reading database ... 269666 files and directories currently installed.)
Preparing to unpack python-ckan_2.9-py3-focal_amd64.deb ...
Unpacking python-ckan (2.9.11-focal1) over (2.9.11-focal1) ...
Setting up python-ckan (2.9.11-focal1) ...
Traceback (most recent call last):
  File "/usr/lib/ckan/default/bin/ckan", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

The installed setuptools is 69.2.0