[Pythonmac-SIG] problem creating first pyobjc file
David Reed
dreedmac at columbus.rr.com
Wed Mar 23 22:40:57 CET 2005
I'm a Linux refugee familiar used to programming pygtk apps with glade
and decided to see how to make Cocoa apps. I downloaded the pybobc
1.3b1 and py2app that Bob announced about a week ago. I'm following the
tutorial and go to the step where I'm supposed to run:
/usr/bin/python setup.py py2app -A
and I get:
Traceback (most recent call last):
File "setup.py", line 2, in ?
import py2app
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/py2app/__init__.py", line 43, in ?
import distutils.dist, distutils.core, distutils.command,
build_app, sys
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/py2app/build_app.py", line 24, in ?
from py2app.find_modules import find_modules, parse_mf_results
File "/Library/Python/2.3/py2app/py2app/__init__.py", line 33, in ?
import py2app.install
ImportError: No module named install
Here is what I think is the relevant directory listing:
516 mac:/Library/Python/2.3/py2app/py2app $ ls -l
total 464
-rw-rw-r-- 1 dreed admin 1185 30 Dec 21:18 __init__.py
-rw-rw-r-- 1 dreed admin 1382 17 Mar 21:34 __init__.pyc
-rw-rw-r-- 1 dreed admin 227 17 Mar 21:34 __init__.pyo
drwxrwxr-x 14 dreed admin 476 23 Mar 16:32 apptemplate/
drwxrwxr-x 35 dreed admin 1190 23 Mar 16:32 bootstrap/
-rw-rw-r-- 1 dreed admin 37063 12 Mar 23:58 build_app.py
-rw-rw-r-- 1 dreed admin 42985 17 Mar 21:34 build_app.pyc
-rw-rw-r-- 1 dreed admin 42603 17 Mar 21:34 build_app.pyo
drwxrwxr-x 14 dreed admin 476 23 Mar 16:32 bundletemplate/
drwxrwxr-x 5 dreed admin 170 23 Mar 16:32 command/
-rw-rw-r-- 1 dreed admin 1320 3 Dec 02:43 create_appbundle.py
-rw-rw-r-- 1 dreed admin 1976 17 Mar 21:34 create_appbundle.pyc
-rw-rw-r-- 1 dreed admin 1976 17 Mar 21:34 create_appbundle.pyo
-rw-rw-r-- 1 dreed admin 1312 3 Dec 02:07 create_pluginbundle.py
-rw-rw-r-- 1 dreed admin 2006 17 Mar 21:34 create_pluginbundle.pyc
-rw-rw-r-- 1 dreed admin 2006 17 Mar 21:34 create_pluginbundle.pyo
-rw-rw-r-- 1 dreed admin 993 9 Feb 18:24 filters.py
-rw-rw-r-- 1 dreed admin 1809 17 Mar 21:34 filters.pyc
-rw-rw-r-- 1 dreed admin 1537 17 Mar 21:34 filters.pyo
-rw-rw-r-- 1 dreed admin 812 9 Dec 13:12 install.py
-rw-rw-r-- 1 dreed admin 1402 17 Mar 21:34 install.pyc
-rw-rw-r-- 1 dreed admin 1106 17 Mar 21:34 install.pyo
drwxrwxr-x 27 dreed admin 918 23 Mar 16:32 recipes/
drwxrwxr-x 8 dreed admin 272 23 Mar 16:32 scripts/
-rw-rw-r-- 1 dreed admin 12264 12 Feb 02:56 util.py
-rw-rw-r-- 1 dreed admin 16365 17 Mar 21:34 util.pyc
-rw-rw-r-- 1 dreed admin 15028 17 Mar 21:34 util.pyo
I see the install.py file. Any ideas what is wrong here?
Thanks,
Dave
More information about the Pythonmac-SIG
mailing list