[dabo-users] pyInstaller

Author: bluewin

Posted: 2011-07-30 at 10:34:26

I wanted to make a pyInstaller spec file, but received a error. What should

I change?

In the Python Shell Window I entered:

>>> import sys, os

>>> os.chdir('D:\\16_programming\\pyInstaller_unzip')

>>> sys.argv=['','---onefile','E:\\14\\17_python_pl\\hello.py']

>>> execfile('Makespec.py')

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

Thank you and greetings Reto

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: Dabo-users@leafe.com

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/004201cc4ec5$cbd15800$63740800$@meiler@bluewin.ch

©2011 bluewin