New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone version? #198
Comments
You can try to generate an executable e.g. via PyInstaller. |
That’s not working unfortunately, thanks for the help! |
Python is an interpreted language that depends on the Python interpreter. Pyinstaller is the closest thing you can get for a standalone version. |
Yes I understand and I try to build it but it won’t work, I don’t know if is because it needs a lot of dependencies or maybe I just don’t know how to build it, I did and when I run it gives errors and won’t work. Have you build it before? |
Could you paste the error message here ? I may be able to help you. There's actually another standalone version, by using a Docker container. |
Just tried the docker container, it also crashed `Starting mnamer Processing Episode "The.Rookie.S05E09.WEBRip.x264-ION10.mp4" (410.75MB) ============================== CRASH REPORT BEGIN ============================== --------------------------------- environment ----------------------------------
--------------------------------- stack trace ---------------------------------- Traceback (most recent call last): =============================== CRASH REPORT END =============================== Dang, it looks like mnamer crashed! Please consider filling an issue at |
A proper standalone version isn't in the works. The reason mnamer is implemented in Python as opposed to languages which can be compiled and statically linked, e.g. Go, Rust, c++, etc., is ease of development. As mentioned, there are creative ways to bundle single file executables, e.g. using Nukita, PyInstaller, PyOxidizer, etc., but they are all a maintenance and publishing pain which undermine ease of development. I'll look into the docker issue. It's intended to "just work" without any tweaking. Your issue seems attributable to a write permission error when writing to the network cache database. In the meantime, this could likely be fixed by creating a volume or mount for |
Is there a way I can run mnamer standalone without installing from pip? I would like to wrapped in a .exe so I don’t have to depend on python environment. Is that possible? Thanks in advance.
The text was updated successfully, but these errors were encountered: