Does anyone know the fix for the following error when using ckanapi?
Traceback (most recent call last):
File "/bin/ckanapi", line 9, in
load_entry_point('ckanapi==4.7', 'console_scripts', 'ckanapi')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.7/site-packages/ckanapi/cli/main.py", line 92, in
from ckanapi.cli.dump import dump_things
File "/usr/lib/python2.7/site-packages/ckanapi/cli/dump.py", line 16, in
from ckanapi.datapackage import create_datapackage, \
File "/usr/lib/python2.7/site-packages/ckanapi/datapackage.py", line 6, in
import slugify
File "/usr/lib/python2.7/site-packages/slugify/init.py", line 2, in
from .slugify import *
File "/usr/lib/python2.7/site-packages/slugify/slugify.py", line 4, in
from html.entities import name2codepoint
ImportError: No module named html.entities
Does anyone know the fix for the following error when using ckanapi?
Traceback (most recent call last): File "/bin/ckanapi", line 9, in
load_entry_point('ckanapi==4.7', 'console_scripts', 'ckanapi')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.7/site-packages/ckanapi/cli/main.py", line 92, in
from ckanapi.cli.dump import dump_things
File "/usr/lib/python2.7/site-packages/ckanapi/cli/dump.py", line 16, in
from ckanapi.datapackage import create_datapackage, \
File "/usr/lib/python2.7/site-packages/ckanapi/datapackage.py", line 6, in
import slugify
File "/usr/lib/python2.7/site-packages/slugify/init.py", line 2, in
from .slugify import *
File "/usr/lib/python2.7/site-packages/slugify/slugify.py", line 4, in
from html.entities import name2codepoint
ImportError: No module named html.entities