Do I have to install wxPython on another PC in order to run it on that PC?

I don't want to have to install it on another PC just to run it on that one. Is there another way to run it on another PC without installing it?


You can bundle your application into an executable using, say, PyInstaller (Windows, Linux, and some OSX support), py2app (OSX), or py2exe (Windows).

There are a bunch of differences between these, so you'll need to look into them more if this is the type of solution you'd like to pursue.

There are lots of ways to do this sort of thing. One of the simplest would be to use Portable Python. It includes wxPython and lots of other goodies. You can get it here:

Of course if you went that route, then you would have to share your source files. If you don't want to do that, then you might want to look at the following:

  • py2exe (old, but well documented) - Windows only
  • PyInstaller - works on Mac, Windows, Linux, etc
  • cx_freeze - cross platform
  • bbfreeze
  • py2app - Mac only

However, I think my favorite is GUI2Exe which is a nice GUI around all of these and makes creating an exe very easy. You can check it out here:

I also wrote tutorials on all these except for py2app. You can read about them at the following links:

You might also find this article interesting in which I describe how bundle up my exe into an installer using Inno Setup:

Need Your Help

Performance issue with StanfordCoreNLP and Semantic Graph

graph semantics stanford-nlp

When I attempt to analyze text with Stanford-NLP and CoreNLP, the performance is very poor. Processing a document from takes around 30 seconds.

Simple MATLAB Simulink sample in MATLAB does not work when I try to run it. Why?

matlab simulink

I am trying to do an example in MATLAB Simulink documentation.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.