Privacyideaadm installation

Hi everyone,

I’m trying to install privacyideaadm. I followed the steps on the github GitHub - privacyidea/privacyideaadm: 💻 This is a command line client to manage the privacyIDEA server. but I have an error when I’m trying to do the "pip install . ". I also tried to do a “pip install privacyideaadm” but didn’t work too. I really don’t know what to do.

(tutorial-env)─(morian㉿morian)-[~/Documents/PrivacyTest/privacyideaadm-master]
└─$ sudo pip install . --use-pep517   
Processing /home/morian/Documents/PrivacyTest/privacyideaadm-master
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: cffi in /usr/lib/python3/dist-packages (from privacyideaadm==3.0) (1.16.0)
Requirement already satisfied: click in /usr/lib/python3/dist-packages (from privacyideaadm==3.0) (8.1.6)
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from privacyideaadm==3.0) (38.0.4)
Collecting python-yubico (from privacyideaadm==3.0)
  Using cached python_yubico-1.3.3-py3-none-any.whl
Requirement already satisfied: qrcode in /usr/lib/python3/dist-packages (from privacyideaadm==3.0) (7.4.2)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from privacyideaadm==3.0) (2.31.0)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from privacyideaadm==3.0) (1.16.0)
Requirement already satisfied: pycparser in /usr/lib/python3/dist-packages (from cffi->privacyideaadm==3.0) (2.21)
Collecting pyusb (from python-yubico->privacyideaadm==3.0)
  Using cached pyusb-1.2.1-py3-none-any.whl (58 kB)
Building wheels for collected packages: privacyideaadm
  Building wheel for privacyideaadm (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for privacyideaadm (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [46 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib
      creating build/lib/privacyideautils
      copying privacyideautils/nitrokey.py -> build/lib/privacyideautils
      copying privacyideautils/clientutils.py -> build/lib/privacyideautils
      copying privacyideautils/initdaplug.py -> build/lib/privacyideautils
      copying privacyideautils/__init__.py -> build/lib/privacyideautils
      copying privacyideautils/pytoken-totp.py -> build/lib/privacyideautils
      copying privacyideautils/pytoken.template.py -> build/lib/privacyideautils
      copying privacyideautils/yubikey.py -> build/lib/privacyideautils
      copying privacyideautils/etokenng.py -> build/lib/privacyideautils
      copying privacyideautils/offline.py -> build/lib/privacyideautils
      creating build/lib/privacyideautils/commands
      copying privacyideautils/commands/user.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/resolver.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/securitymodule.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/realm.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/token.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/__init__.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/certificate.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/audit.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/machine.py -> build/lib/privacyideautils/commands
      copying privacyideautils/commands/config.py -> build/lib/privacyideautils/commands
      running build_scripts
      creating build/scripts-3.11
      copying and adjusting scripts/privacyidea -> build/scripts-3.11
      copying and adjusting scripts/privacyidea-luks-assign -> build/scripts-3.11
      copying and adjusting scripts/privacyidea-authorizedkeys -> build/scripts-3.11
      copying and adjusting scripts/privacyidea-check-offline-otp -> build/scripts-3.11
      copying and adjusting scripts/privacyidea-get-offline-otp -> build/scripts-3.11
      copying and adjusting scripts/privacyidea-validate -> build/scripts-3.11
      copying and adjusting scripts/privacyidea-enroll-yubikey-piv -> build/scripts-3.11
      changing mode of build/scripts-3.11/privacyidea from 644 to 755
      changing mode of build/scripts-3.11/privacyidea-luks-assign from 644 to 755
      changing mode of build/scripts-3.11/privacyidea-authorizedkeys from 644 to 755
      changing mode of build/scripts-3.11/privacyidea-check-offline-otp from 644 to 755
      changing mode of build/scripts-3.11/privacyidea-get-offline-otp from 644 to 755
      changing mode of build/scripts-3.11/privacyidea-validate from 644 to 755
      changing mode of build/scripts-3.11/privacyidea-enroll-yubikey-piv from 644 to 755
      installing to build/bdist.linux-x86_64/wheel
      running install
      running build_sphinx
      error: invalid command 'build_sphinx'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for privacyideaadm
Failed to build privacyideaadm
ERROR: Could not build wheels for privacyideaadm, which is required to install pyproject.toml-based projects

Thank you. Regards.