[Pythonmac-SIG] No module named appscript

Jani H Lahtinen jani at eternum-consulting.com
Mon Jul 10 22:15:24 CEST 2006


has wrote:
> 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
>   
Ok, I had the Fink version of python 2.4. I have now the Apple installed 
2.3 in which there is no such error anymore.

Jani


More information about the Pythonmac-SIG mailing list