Hello,
I'm trying to compile my python script with Pyinstaller but it failed.
I'm using the Pyinstaller trunc version. For your information, I
succeed in compiling a simple script without dependencies but when i
want to compile my script which depends of Paramiko and Pycrypto, it
failed.
My linux is in french, so when you read "Aucun fichier ou répertoire
de ce type", it means "No file or directory of this type". And
"paramiko_equ.py" is the name of my script, it's not Paramiko
itself ;)
Thanks to help me and sorry for my poor english.
[r...@adm_srv trunk]# python Build.py paramiko_equ/paramiko_equ.spec
checking Analysis
building because /var/www/html/site/scripts/paramiko_class.py changed
running Analysis outAnalysis0.toc
Analyzing: support/_mountzlib.py
Analyzing: support/useUnicode.py
Analyzing: /var/www/html/site/scripts/paramiko_equ.py
ldd: /usr/lib/python2.4/site-packages/pycrypto-2.0.1-py2.4-linux-
i686.egg/Crypto/Cipher/AES.so: Aucun fichier ou répertoire de ce type
ldd: /usr/lib/python2.4/site-packages/pycrypto-2.0.1-py2.4-linux-
i686.egg/Crypto/Cipher/Blowfish.so: Aucun fichier ou répertoire de ce
type
ldd: /usr/lib/python2.4/site-packages/pycrypto-2.0.1-py2.4-linux-
i686.egg/Crypto/Cipher/DES3.so: Aucun fichier ou répertoire de ce type
ldd: /usr/lib/python2.4/site-packages/pycrypto-2.0.1-py2.4-linux-
i686.egg/Crypto/Cipher/ARC4.so: Aucun fichier ou répertoire de ce type
ldd: /usr/lib/python2.4/site-packages/pycrypto-2.0.1-py2.4-linux-
i686.egg/Crypto/PublicKey/_fastmath.so: Aucun fichier ou répertoire de
ce type
Warnings written to paramiko_equ/warnparamiko_equ.txt
checking PYZ
building because toc changed
building PYZ outPYZ1.toc
checking PKG
building because outPKG3.toc missing or bad
building PKG outPKG3.pkg
Cannot find ('Crypto.Cipher.AES.so', '/usr/lib/python2.4/site-packages/
pycrypto-2.0.1-py2.4-linux-i686.egg/Crypto/Cipher/AES.so', 1, 'b')
Traceback (most recent call last):
File "Build.py", line 1153, in ?
main(args[0], configfilename=opts.configfile)
File "Build.py", line 1141, in main
build(specfile)
File "Build.py", line 1104, in build
execfile(spec)
File "paramiko_equ/paramiko_equ.spec", line 14, in ?
console=1 )
File "Build.py", line 654, in __init__
strip_binaries=self.strip, upx_binaries=self.upx,
crypt=self.crypt)
File "Build.py", line 554, in __init__
self.__postinit__()
File "Build.py", line 196, in __postinit__
self.assemble()
File "Build.py", line 611, in assemble
archive.build(self.name, mytoc)
File "/home/serveur/Desktop/trunk/archive.py", line 229, in build
self.add(tocentry) # the guts of the archive
File "/home/serveur/Desktop/trunk/carchive.py", line 235, in add
s = open(pathnm, 'rb').read()
IOError: [Errno 20] Not a directory: '/usr/lib/python2.4/site-packages/
pycrypto-2.0.1-py2.4-linux-i686.egg/Crypto/Cipher/AES.so'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---