[Pythonmac-SIG] No module named appscript

has hengist.podd at virgin.net
Sat Jul 8 23:05:55 CEST 2006


Jani Lahtinen wrote:

> I just installed the AppScript to my PPC mac from the dmg-file, but  
> when I try to import appscript I get:
>
> >>> from appscript import *
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> ImportError: No module named appscript
>
> I tried both the 2.3 and 2.4 but the module is not loadable in  
> pythonw. Is there a problem with the installer?

Shouldn't be; never had any problems before. Are you sure you're  
using the right python interpreter (i.e. not one for Fink/DarwinPorts  
Python)? Did you check the site-packages folders for your Python  
installations to see the files have been installed okay?

Apple-installed 2.3:
/Library/Python/2.3 (Panther)
/Library/Python/2.3/site-packages (Tiger)

User-installed MacPython 2.4:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- 
packages

HTH

has
-- 
http://freespace.virgin.net/hamish.sanderson/




More information about the Pythonmac-SIG mailing list