[Pythonmac-SIG] python make failing: "ImportError: No module named MacOS"

OpenMacNews OpenMacNews at speakeasy.net
Sat Mar 19 20:42:08 CET 2005


Hi all,

i'm building a local instance of Python v2.4.1c2 on a 'virgin install' of 
fully-updated OSX 10.3.8. w/ XCode 1.5

'configure' is successful w/


	./configure \
	--with-prefix=/usr/local/pythontest \
	--enable-framework=/usr/local/pythonframe \
	--with-threads \
	--with-cxx=g++ \
	--enable-ipv6 \
	--enable-toolbox-glue

but a subsequent

	make frameworkinstall

FAILS at:

/usr/bin/install -c -m 644 ./Mac/Tools/IDE/Wtraceback.py 
/usr/local/pythonframe/Python.framework/Versions/2.4/Mac/Tools/IDE
/usr/bin/install -c -m 644 ./Mac/Tools/IDE/Wwindows.py 
/usr/local/pythonframe/Python.framework/Versions/2.4/Mac/Tools/IDE
./python.exe ./Mac/scripts/cachersrc.py -v 
/usr/local/pythonframe/Python.framework/Versions/2.4/lib/python2.4/plat-mac 
/usr/local/pythonframe/Python.framework/Versions/2.4/Mac/Tools
Traceback (most recent call last):
  File "./Mac/scripts/cachersrc.py", line 7, in ?
    import macresource
  File 
"/Volumes/g4_PORTS/usr/ports/Python-2.4.1c2/Lib/plat-mac/macresource.py", line 
6, in ?
    import MacOS
ImportError: No module named MacOS
make[1]: *** [installmacsubtree] Error 1
make: *** [frameworkinstallmaclib] Error 2

I've found limited prior reference to this "ImportError: No module named MacOS
"), @:

	http://mail.python.org/pipermail/pythonmac-sig/2004-March/010709.html

but, afaik, there was no resolution ...

any suggestions as to what's broken here?

thx!

richard




More information about the Pythonmac-SIG mailing list