aaPanel_Kern

Run btpip install - upgrade pyOpenSSL ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so'

    aaPanel_Kern
    Has been running, open the SSL will appear

    Traceback (most recent call last):
    File "class/acme_v2.py", line 34, in
    import OpenSSL
    ModuleNotFoundError: No module named 'OpenSSL'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/www/server/panel/BTPanel/init.py", line 1707, in publicObject
    return run_exec().run(toObject, defs, get)
    File "/www/server/panel/BTPanel/init.py", line 1655, in run
    result = getattr(toObject,get.action)(get)
    File "class/panelSite.py", line 2184, in GetSSL
    import acme_v2
    File "class/acme_v2.py", line 37, in
    import OpenSSL
    ModuleNotFoundError: No module named 'OpenSSL'

      aaPanel_Kern
      Has been running btpip install pyOpenSSL

      WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

        zyzz
        Hello, please intercept the running result. Did the hint succeed? Did you restart the panel?

        • zyzz replied to this.

          zyzz
          Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
          It is recommended to fill in the following
          Post link:
          SSH IP address, account password and port:
          aapanel login link address and account password:

          No post link will not be able to know which user's information is

          6 months later

          It is fresh aapanel installation and I face ssl certificate issuing error. every option I click but same error occur. kindly help me in this regards

            aaP_sarfaraz_leghari
            Hello, is it normal to use the ssh tool to execute the command and try again?
            mv /www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL /tmp/OpenSSL_bak
            btpip install pyOpenSSL
            bt reload

            Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com