1

I need to run python in an environment where there wont be python. Is it possible to execute python as an executable in Unix Environments, like HP-UX, IBM-AIX, Solaris, Linux etc etc....

The targeted OS is AIX now.... since it does not have python support and the installation is difficult......

Thanks.

3
  • 1
    Have a look at Freeze. Commented Jul 23, 2012 at 14:47
  • Other than freeze, the common factor on all these systems is the C compiler, so a translation to C would do it, too. Commented Jul 23, 2012 at 14:53
  • I used cv_freeze and it works well on Linux to Linux....... But I need to find out if I can do from Linux to AIX Commented Jul 25, 2012 at 16:14

1 Answer 1

1

I have used http://www.pyinstaller.org/ to create an executable in ubuntu. look at their manual, it also have the cool feature of outputting just one file with --onefile. My first choice was freeze but the executable failed to run when I used some external modules - I could not solve it and I found pyinstaller to be perfect for me.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.