Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PyInstaller and error: 'support/loader/run'

Reply
Thread Tools

PyInstaller and error: 'support/loader/run'

 
 
Ale Ghelfi
Guest
Posts: n/a
 
      03-30-2011
I've a script of Python 2.6.6 under Ubuntu 10.10 and i would pass it to
XP like exe.
My script use wxPython and read some files jpg that are in the same
directory of the script.

Before to use Pyinstaller 1.4, i did:
cd /source/linux
python Make.py
make

But "make" returned this error that i didn't understand:

gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common
-DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing
-g -O2 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS
-c getpath.c -o getpath.o
getpath.c:40: fatal error: osdefs.h: File o directory non esistente
compilation terminated.
make: *** [getpath.o] Errore 1

Anyway, after this, i did also:
python Config.py

Then:
python makespec.py -F -w MioScript.py
python Build.py (il file ottenuto dal passaggio precedente)

After Build.py, pyinstaller return this error:

checking Analysis
checking PYZ
checking PKG
checking EXE
building because outEXE2.toc missing or bad
building EXE from outEXE2.toc
Traceback (most recent call last):
File "Build.py", line 1160, in <module>
main(args[0], configfilename=opts.configfile)
File "Build.py", line 1148, in main
build(specfile)
File "Build.py", line 1111, in build
execfile(spec)
File "quiz/quiz.spec", line 14, in <module>
console=1 )
File "Build.py", line 663, in __init__
self.__postinit__()
File "Build.py", line 196, in __postinit__
self.assemble()
File "Build.py", line 748, in assemble
self.copy(exe, outf)
File "Build.py", line 764, in copy
inf = open(fnm, 'rb')
IOError: [Errno 2] No such file or directory: 'support/loader/run'

Any ideas? Thank you very very much!!

Alessandro Ghelfi
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pyinstaller and logging Mike Python 2 05-06-2009 05:22 PM
Re: Creating single .exe file without py2exe and pyinstaller oyster Python 0 10-21-2008 06:48 AM
ImportError: cannot import name QtCore. using PyInstaller.1-3 andPyQt4 and Python 2.5 asoft Python 0 06-22-2008 08:49 PM
ANN: PyInstaller 1.0 - build single-file distributions for your Python programs Giovanni Bajo Python 1 09-21-2005 12:03 AM
ANN: PyInstaller 1.0 in the works: package your Python app into a single-file executable Giovanni Bajo Python 3 09-07-2005 12:02 AM



Advertisments