Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I compile a Python file with all the libraries on the Linux?

I have a Python file that I want to compile with all the libraries and so on, so that users don’t have to download the necessary libraries. And then I want to put it in /usr/bin to make a command for the script.

How do I compile my script so that it has all the required libraries and so on?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can use pyinstaller and in the build file you will see that there is an exe file and another file that works on Linux

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading