A
Alexander Eisenhuth
Hallo,
somehow Installer won't work, even on the simplest python file:
test.py:
---------
import time
print 'time is', time.time()
Installation:
-------------
tar xzvf ...
cd <instDir>source/linux
python Make.py
cd ../../
python Configure.py
python Makespec.py --debug ../../src/test.py
python Build.py test/test.spec
test/buildtest/test
(output):
---------------------------------
test/buildtest/test is thisfile
is _MEIPASS2 (workpath)
test/buildtest/ is homepath
Extracting binaries
Manipulating evironment
PYTHONPATH=test/buildtest
importing modules from CArchive
iu
archive
mod is NULL - archiveTraceback (most recent call last):
File "archive.py", line 19, in ?
import struct
ImportError: No module named struct
Installing import hooks
out1.pyz
Running scripts
Traceback (most recent call last):
File "<string>", line 2, in ?
AttributeError: 'module' object has no attribute 'PYZOwner'
RC: -1 from _mountzlib
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named codecs
RC: -1 from useUnicode
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named time
RC: -1 from test
OK.
Env:
====
python 2.2.2
linux
Installer V-5b5_5 on linux
Any suggestions, or other packers on linux ?
regards
Alexander
somehow Installer won't work, even on the simplest python file:
test.py:
---------
import time
print 'time is', time.time()
Installation:
-------------
tar xzvf ...
cd <instDir>source/linux
python Make.py
cd ../../
python Configure.py
python Makespec.py --debug ../../src/test.py
python Build.py test/test.spec
test/buildtest/test
(output):
---------------------------------
test/buildtest/test is thisfile
is _MEIPASS2 (workpath)
test/buildtest/ is homepath
Extracting binaries
Manipulating evironment
PYTHONPATH=test/buildtest
importing modules from CArchive
iu
archive
mod is NULL - archiveTraceback (most recent call last):
File "archive.py", line 19, in ?
import struct
ImportError: No module named struct
Installing import hooks
out1.pyz
Running scripts
Traceback (most recent call last):
File "<string>", line 2, in ?
AttributeError: 'module' object has no attribute 'PYZOwner'
RC: -1 from _mountzlib
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named codecs
RC: -1 from useUnicode
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named time
RC: -1 from test
OK.
Env:
====
python 2.2.2
linux
Installer V-5b5_5 on linux
Any suggestions, or other packers on linux ?
regards
Alexander