howtechstuffworks
howtechstuffworks

Reputation: 1916

Need to run python script in an environment where python is not present

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.

Upvotes: 1

Views: 541

Answers (1)

zenpoy
zenpoy

Reputation: 20126

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.

Upvotes: 1

Related Questions