Re: [dabo-users] pyInstaller

Author: Ed Leafe

Posted: 2011-07-30 at 13:01:49

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

_______________________________________________

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/52F52CF7-430E-4C6C-8CD6-8DF40CFE86A3@leafe.com

©2011 Ed Leafe