How To Install Py2exe In Ubuntu

Posted on
How To Install Py2exe In Ubuntu Rating: 4,5/5 7772 reviews

Mar 3, 2018 - Able to run without requiring a Python installation' (emphasis mine). Yes, it avoids installing Python on windows - but if Linux has already.

Jan 1, 2018 - Redgate Sql Toolbelt Keygen. Download RedGate SQL Toolbelt 2015.1 + MultiKeyGen-RePT torrent. Found results for red gate sql toolbelt 2. Download Cracked version of RedGate SQL ToolBelt 2018 v2.0.1.2321, دانلود نسخه کرک شده RedGate SQL ToolBelt 2018 v2.0.1.2321. Redgate sql tool belt keygen crack. Nov 9, 2017 - RedGate.SQL.Toolbelt.serial.numbers.cracks.and.keygens.are.presented.hereLPrompt.Keygen.5.3.x.注意在右侧选择Edition下来.SQL. Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together, they make you.

I am installing py2exe using easy_install. here is what I typed:

I am using linux mint cinnamon 15. This is what I get, though:

[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/test-easy->install-3460.pth'

The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:

Download presto page manager keygen

/usr/local/lib/python2.7/dist-packages/

Perhaps your account does not have write access to this directory? If the installation directory is a system-owned directory, you may need to sign in as the administrator or 'root' account. If you do not have administrative access to this machine, you may wish to choose a different installation directory, preferably one that is listed in your PYTHONPATH environment variable.

For information on other options, you may wish to consult the documentation at:

Please make the appropriate changes for your system and try again.

then I also tried pygame, but same error. can anyone help me install py2exe and report the problem? I am an administrator.

techgenius101techgenius101

1 Answer

Use it with sudo, like:

sudo easy_install py2exe

In short, sudo is an awesome command that provides whatever you type after it with the root permissions. So you have enough permissions to install it with easy_install.

Igor HataristIgor Hatarist

Not the answer you're looking for? Browse other questions tagged linuxpythoneasy-install or ask your own question.

Ahoy Sailors!
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Error is explained
Python Versions
So before we even being to compile or edit anything, We need to start with which version of Python we are using, Generally older releases will build smaller executables, This is due to the main Python dll being smaller, As so is the msvcr*.dll. To give you an example here is the journey of my small Windowless Twisted networking application.
Ver ---------- File size (Everything compressed together)
2.6 ----- ----- 1.8MB
2.4
----- ----- 1.4MB
2.3
----- ----- 800KB

So as we can see there is a pretty steep decline in size going from version to version, For a little extra Py2.3 uses msvcrt.dll which is on almost all Windows os's by default & therefore no longer needs to be packaged.
Now your script may need some things that are in the newer releases of Python, So you may not be able to go back that far (For me the Twisted engine stopped at 2.3), However if size is a problem then using an older version is definitely a KB saver.
Compiling Package?
So lets get the basics out the way. First create a Python script name it compile.py and paste this
Replace the above hello.py with that of the name of your Python script. Then we can run this file from CMD (Or make a nice batch file) By usingPy2Exe now makes two folders in that of the dir which your Compile.py script resides in, One folder named dist, And the other build (Don't need to bother with that one) Inside of dist you will find your .exe file, Which is almost ready to be shipped over the internet!
'This application has failed..' Error!
Now there has been a few topics made about this on various websites, To clear everything up, If your using Python26 make sure you have these two files in amongst your dist folder. MSVCR90.dll & Microsoft.VC90.CRT.manifest (Not sure if name varies) They both reside in your Python's installation directory. Copy them both and your package is ready to go!
File size!
I also was a tad concerned about the file size when I first compiled my python script. We can compress all the files inside of a self extracting archive, But were better of as well trimming some un-needed modules.
You should have a zip archive called library.zip (use winrar or 7zip to compress the content again as it's not at maximum compression level) inside of which lays your modules which will be travailing around with your .exe, However modules that aren't needed also get packaged, So either by knowledge or trial & error, Delete some of those modules & see if your executable works. & with that you can trim your package size.
And with that you've got your working tiny-fied Python based PE executable ready to go! You may now comment and applaud.