okurz wrote:
https://gitlab.suse.de/qa-sle/backup-server-salt/-/merge_requests/5
This error doesn't seem to fail salt:
[DEBUG ] Failed to import module pip:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/salt/loader.py", line 1836, in _load_module
mod = self.run(spec.loader.load_module)
File "/usr/lib/python3.8/site-packages/salt/loader.py", line 2276, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/salt/loader.py", line 2291, in _run_as
return _func_or_method(*args, **kwargs)
File "<frozen importlib._bootstrap_external>", line 522, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1022, in load_module
File "<frozen importlib._bootstrap_external>", line 847, in load_module
File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/python3.8/site-packages/salt/modules/pip.py", line 87, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
ModuleNotFoundError: No module named 'pkg_resources'