Package: python3-cigi Version: 3.3.3a+svn818-10+b4 Severity: serious User: helm...@debian.org Usertags: python-import
After installing python3-cigi importing the module cigi into a python interpreter fails with the following error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cigi/__init__.py", line 14, in swig_import_helper return importlib.import_module(mname) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked ModuleNotFoundError: No module named '_cigi' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/cigi/__init__.py", line 17, in <module> _cigi = swig_import_helper() File "/usr/lib/python3/dist-packages/cigi/__init__.py", line 16, in swig_import_helper return importlib.import_module('_cigi') File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named '_cigi' The vast majority of import failures is attributed to missing dependencies. Often times that manifests as an ImportError or ModuleNotFoundError. Typically, dependencies should be inserted by dh-python via ${python:Depends} or ${python3:Depends}. Thus a missing dependency can be caused by incomplete install_requires in setup.py. Sometimes a missing dependency of a dependency is the cause, in such cases this bug should be reassigned. Helmut