How to fix errors when installing RSclient on Linux?

Some errors may occur during the installation of RSclient on Linux.

  1. When installing RSclient, you may encounter error like:

    ModuleNotFoundError: No module named 'setuptools'
    

    This error occurs due to the lack of setuptools package. It can be installed from the standard repositories with the command:

    sudo apt install python3-setuptools
    
  2. Also, when installing RSclient, you may encounter error like:

    failed with error code 1 in /tmp/pip-build-ukbuqxrp/pykcs11
    

    This error occurs due to the lack of Pykcs11 package. For Linux, you can install Pykcs11 package in any alternative way, for example, using the command:

    pip3 install pykcs11