Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Packaging PySide6 with Nuitka - import QtNetwork causes issues - No functional TLS backend was found

See original GitHub issue

Nuitka version Commercial: None Python: 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] Flavor: Anaconda Python Executable: C:\tools\miniconda3\envs\smartblur_env\python.exe OS: Windows Arch: x86_64 WindowsRelease: 10

  • How did you install Nuitka and Python pip install Nuitka in a conda env

  • The specific PyPI names and versions conda.exe install pybind11 libsodium ninja libopencv nomkl numpy=1.21.4 pyopengl pywin32 openssl -y

    python -m pip freeze Nuitka== numpy @ file:///D:/bld/numpy_1636145505783/work pybind11 @ file:///D:/bld/pybind11-split_1641689025977/work pybind11-global @ file:///D:/bld/pybind11-split_1641689025977/work PyOpenGL==3.1.5 PySide6== pywin32==303 shiboken6==

  • Provide in your issue the Nuitka options used

nuitka --standalone --plugin-enable=pyside6 --plugin-enable=numpy --plugin-enable=anti-bloat --output-dir Packaging_video_test --static-libpython=no

The problem is with packaging my app with Nuitka. It creates the executable but when I launch the executable I got those errors, and the part of the app related to QtNetwork is not working: No functional TLS backend was found No functional TLS backend was found No TLS backend is available No functional TLS backend was found QSslSocket::connectToHostEncrypted: TLS initialization failed

I didn’t have those errors before including QtNetwork. I suspect an issue with OpenSSL but I don’t know how to solve it. If I run my app from the terminal: python, everything works fine. I have openssl=1.1.1l=h8ffe710_0

Thanks for your help!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

kayhayencommented, Jan 24, 2022

Yes, minimal is great. I am pretty sure this about Anaconda, and figuring out their differences there will take some time.

kayhayencommented, Jun 11, 2022

Yes, seems to be a case of not using --include-qt-plugins with required values. Since this never got a reproducer, I don’t see any value in this issue anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Packaging PySide6 with Nuitka - issues No functional TLS backend was found No ... import sys from PySide6 import QtCore, QtNetwork, QtWidgets class ...
Read more >
PySide6 app packaged with PyInstaller not starting with no ...
Pyinstaller 4.3; 64-bit Windows 10. It is a simple script like this : from PySide6.QtCore import * from ...
Read more >
Software Packages in "sid", Alaosasto python
Python 3 module to discover libraries. python3-findpython (0.2.2-1): utility to find python versions on your system; python3-fiona (1.8.22-1+b1 [ ...
Read more >
Compare Packages Between Distributions -
In this way we can not only compare two competing projects, but also track the progress of distributions as they adopt newer versions...
Read more >
Software Packages in "kinetic", Subsection python - Ubuntu
Python 3 bindings for command-not-found. python3-commando (1.0.0-2) [universe]: wrapper for argparse to define declaratively (Python 3); python3-commentjson ( ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found