Python - Compiler to create .exe without dependencies on other computer (Portable needed)

Dear Experts,

Could you please advise about a Python compiler, which would be able to create an .exe file from a .py one and which could be run on other computer without any dependency? (so without the need of installing Python and modules)

Basically I am aware of http://www.py2exe.org/ but would need a compiler which does not need installation on my computer, since not having administrative rights on Windows

Thanks in advance,
LVL 1
csehzIT consultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BradyPrincipal Data EngineerCommented:
Try this method. Not sure about copying DLLs as they are protected by copywrite but this link may be what you need.
https://www.quora.com/How-can-I-compile-a-Python-Script-with-dependencies-into-exe
0
gelonidaCommented:
pyinstaller is a decent option


as soon as you pip installed pyinstaller and it's dependecies you cacn type


pyinstaller -F yourpython_file.py


if you don't have admin privileges you could install pyinstaller on a portable python version, which you can install without being admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Python

From novice to tech pro — start learning today.