> -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] > Im Auftrag von Ed Leafe > Gesendet: Saturday, July 30, 2011 7:02 PM > An: Dabo Users list > Betreff: Re: [dabo-users] pyInstaller > > On Jul 30, 2011, at 9:34 AM, bluewin wrote: > > > Traceback (most recent call last): > > > > File "<pyshell#4>", line 1, in <module> > > > > execfile('Makespec.py') > > > > File "Makespec.py", line 246, in <module> > > > > import pyi_optparse as optparse > > > > ImportError: No module named pyi_optparse > > > >>>> > > > > In the pyInstaller_unzip directory exists a file pyi_optparse.py > > It's not installed in a path that Python knows about. You will > either have to install the pyInstaller package (is there a setup.py in > the unzip directory?), or you will have to add the unzip directory to > the Python path using sys.path.append(). I would say that installing > pyInstaller would be the better route, as there may be other modules in > there that will be needed. > > > -- Ed Leafe > > There is not setup.py. With sys.path.append() and installing pyWin32 I made some progress. After starting Build.py I received the feedback warnhello.txt. Here the content of warnhello.txt:
W: no module named posix (conditional import by os) W: no module named readline (delayed, conditional import by cmd) W: no module named readline (delayed import by pdb) W: no module named pwd (delayed, conditional import by posixpath) W: no module named org (top-level import by pickle) W: no module named posix (delayed, conditional import by iu) W: no module named fcntl (conditional import by subprocess) W: no module named org (top-level import by copy) W: no module named _emx_link (conditional import by os) W: no module named fcntl (top-level import by tempfile) W: no module named AES (delayed, conditional import by archive) W: __all__ is built strangely at line 0 - collections (D:\16_programming\python_inst\lib\collections.pyc) W: delayed exec statement detected at line 0 - collections (D:\16_programming\python_inst\lib\collections.pyc) W: delayed conditional __import__ hack detected at line 0 - unittest.main (D:\16_programming\python_inst\lib\unittest\main.pyc) W: delayed __import__ hack detected at line 0 - encodings (D:\16_programming\python_inst\lib\encodings\__init__.pyc) W: delayed __import__ hack detected at line 0 - optparse (D:\16_programming\python_inst\lib\optparse.pyc) W: delayed conditional __import__ hack detected at line 0 - unittest.loader (D:\16_programming\python_inst\lib\unittest\loader.pyc) W: delayed conditional __import__ hack detected at line 0 - unittest.loader (D:\16_programming\python_inst\lib\unittest\loader.pyc) W: delayed __import__ hack detected at line 0 - unittest.loader (D:\16_programming\python_inst\lib\unittest\loader.pyc) W: delayed conditional __import__ hack detected at line 0 - doctest (D:\16_programming\python_inst\lib\doctest.pyc) W: delayed exec statement detected at line 0 - doctest (D:\16_programming\python_inst\lib\doctest.pyc) W: delayed conditional __import__ hack detected at line 0 - doctest (D:\16_programming\python_inst\lib\doctest.pyc) W: __all__ is built strangely at line 0 - dis (D:\16_programming\python_inst\lib\dis.pyc) W: __all__ is built strangely at line 0 - __future__ (D:\16_programming\python_inst\lib\__future__.pyc) W: __all__ is built strangely at line 0 - tokenize (D:\16_programming\python_inst\lib\tokenize.pyc) W: __all__ is built strangely at line 0 - tokenize (D:\16_programming\python_inst\lib\tokenize.pyc) W: delayed exec statement detected at line 0 - bdb (D:\16_programming\python_inst\lib\bdb.pyc) W: delayed eval hack detected at line 0 - bdb (D:\16_programming\python_inst\lib\bdb.pyc) W: delayed eval hack detected at line 0 - bdb (D:\16_programming\python_inst\lib\bdb.pyc) W: delayed __import__ hack detected at line 0 - pickle (D:\16_programming\python_inst\lib\pickle.pyc) W: delayed __import__ hack detected at line 0 - pickle (D:\16_programming\python_inst\lib\pickle.pyc) W: delayed conditional exec statement detected at line 0 - iu (D:\16_programming\pyInstaller_unzip\iu.pyc) W: delayed conditional exec statement detected at line 0 - iu (D:\16_programming\pyInstaller_unzip\iu.pyc) W: delayed eval hack detected at line 0 - gettext (D:\16_programming\python_inst\lib\gettext.pyc) W: delayed conditional eval hack detected at line 0 - warnings (D:\16_programming\python_inst\lib\warnings.pyc) W: delayed conditional __import__ hack detected at line 0 - warnings (D:\16_programming\python_inst\lib\warnings.pyc) W: delayed exec statement detected at line 0 - pdb (D:\16_programming\python_inst\lib\pdb.pyc) W: delayed conditional eval hack detected at line 0 - pdb (D:\16_programming\python_inst\lib\pdb.pyc) W: delayed eval hack detected at line 0 - pdb (D:\16_programming\python_inst\lib\pdb.pyc) W: delayed conditional eval hack detected at line 0 - pdb (D:\16_programming\python_inst\lib\pdb.pyc) W: delayed eval hack detected at line 0 - pdb (D:\16_programming\python_inst\lib\pdb.pyc) What shall I do now? Reto > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users > Searchable Archives: http://leafe.com/archives/search/dabo-users > This message: http://leafe.com/archives/byMID/52F52CF7-430E-4C6C-8CD6- > [email protected] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/000201cc4ef0$7e00a1f0$7a01e5d0$@[email protected]
