Hi all,
I am trying to configure the freeipa client on freebsd-14, I tried on freebsd13 as well with python 2.7.18 installed (I also tried with python 3.9) with both I get following error, can someone suggest/help ?
Regards
I am trying to configure the freeipa client on freebsd-14, I tried on freebsd13 as well with python 2.7.18 installed (I also tried with python 3.9) with both I get following error, can someone suggest/help ?
Code:
root@test2:~ # ipa-client-install --hostname=test2.example.com --mkhomedir --server=ipa-server.example.com --domain=example.com --realm=EXAMPLE.COM --no-ntp
Traceback (most recent call last):
File "/usr/local/sbin/ipa-client-install", line 22, in <module>
from ipaclient.install import ipa_client_install
File "/usr/local/lib/python3.9/site-packages/ipaclient/install/ipa_client_install.py", line 7, in <module>
from ipaclient.install import client
File "/usr/local/lib/python3.9/site-packages/ipaclient/install/client.py", line 37, in <module>
from ipalib import api, errors, x509
File "/usr/local/lib/python3.9/site-packages/ipalib/__init__.py", line 919, in <module>
from ipalib import plugable
File "/usr/local/lib/python3.9/site-packages/ipalib/plugable.py", line 43, in <module>
from ipalib import errors
File "/usr/local/lib/python3.9/site-packages/ipalib/errors.py", line 109, in <module>
from ipalib.text import ngettext as ungettext
File "/usr/local/lib/python3.9/site-packages/ipalib/text.py", line 139, in <module>
from ipalib.request import context
File "/usr/local/lib/python3.9/site-packages/ipalib/request.py", line 28, in <module>
from ipalib.base import ReadOnly, lock
File "/usr/local/lib/python3.9/site-packages/ipalib/base.py", line 26, in <module>
from ipalib.constants import NAME_REGEX, NAME_ERROR
File "/usr/local/lib/python3.9/site-packages/ipalib/constants.py", line 28, in <module>
from ipaplatform.constants import constants as _constants
File "/usr/local/lib/python3.9/site-packages/ipaplatform/constants.py", line 10, in <module>
ipaplatform._importhook.fixup_module('ipaplatform.constants')
File "/usr/local/lib/python3.9/site-packages/ipaplatform/_importhook.py", line 35, in load_module
platform_mod = importlib.import_module(alias)
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'ipaplatform.freebsd.constants'
Regards