Comments (4)
You might want to use no --include-package and instead report the missing dependencies so they can be fixed, and at least use only --include-module
as it otherwise includes a lot of code, and you probably run out of memory.
from nuitka.
It remains stuck at that point with no increase in ram or CPU usage.
when i run with just
python3 -m nuitka main.py
It creates a .bin file which I can execute from my application path which contains other folders like images, configs, libraries, models etc.
Ill try adding those missing dependency folders one by one to the path.
But I want to create a single executable which will run the app standalone. If i run with just python3 -m nuitka --follow-imports main.py the follow imports also gets stuck at that point where yt-dlib gets stuck at extract. How should i proceed if i want to add the python and other dependencies also into the standalone folder package?
from nuitka.
Thank you for your help!
When I simply run
python3 -m nuitka main.py
It creates a main.bin file, and if i run that file from my folder everything in that PyQT5 application works perfectly. I had read there were issues with callback and threading in your pyqt5 support doc, but even threading using background processes and event callbacks are working properly.
I am only facing 1 major issue with the camera stream callback which happens through a slot signal mechanis,, where an image is updated from the background stream. The process runs in the background as per the logs but the image, does'nt seem to render, but if the process is killed, a single image is rendered after the event end.
Other threaded screen updates using signals and slots and events are working properly. Seems like this one issue could also be workedaround which would save an entire migration to pyqt6 due to many dependencies to be handled.
The doc had suggested very limiting workarounds, do you think If i try, this single threaded signal for images could also be fixed through a workaround? You have better understanding as to guide if I should put my effort in this or look for another solution.
from nuitka.
How about you report the output of --standalone --noinclude-custom-mode=yt_dlp:error
and we remove as bloat, if that's unused. For distribution compiling the top level file only won't do much.
from nuitka.
Related Issues (20)
- Streamlit compilation HOT 1
- I have encountered common opencv-python problem: ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation. HOT 7
- the problem with compiling tensorflow HOT 12
- Invoking wintypes during packaging causes the program to fail to run. HOT 3
- One-file exe work well local side, work not good on network path. HOT 3
- Failed to initialize QMediaPlayer "Not available" HOT 1
- Failed to initialize QMediaPlayer "Not available" HOT 1
- One-file .exe can't run on server (network path) with "--disable-console". HOT 7
- How to obtain the directory where the executable file is located HOT 3
- I encountered a problem with file overwriting when using LTO=yes HOT 8
- The exe file is not copied for the command --include-data-dir HOT 2
- TypeError NoneType when importing PySide6 background worker, but working when merged into main script HOT 6
- PkgResourcesPlugin.py not support python3.8?? HOT 5
- Blender bpy package compiles but does not run HOT 6
- NameError when case/match dictionaries HOT 6
- Bug: No response with numpy 1.26.4, python 3.12.3, nuitka 2.3rc5 and `--standalone` HOT 2
- pyperf support HOT 3
- Working with setuptools 70.0.0 HOT 1
- crash in onefile.py: assert not os.path.exists(source_dir) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuitka.