Yes, I was running the web2py for OS X.  I have switched to the web2py 
source version and it now works.  Thanks for the help!

-- Don


On Monday, July 16, 2012 9:57:15 AM UTC-4, Massimo Di Pierro wrote:
>
> Are you running the web2py for OSX? That ships with its own python 
> interpreter and ignores any other python and module you may have installed. 
> I suggest you use web2py source since you already have python installed.
>
> On Sunday, 15 July 2012 14:26:11 UTC-5, DonH wrote:
>>
>> I have installed an external module (several .py files in a directory) 
>> that I want to import into my web2py app.  I'm running on OS X and have 
>> installed Python 2.7.  When I run Python from terminal, I can import the 
>> modules successfully, but when I attempt to import them in my web2py app, 
>> they cannot be found.  The ticket indicates that the Python version is 
>> 2.5.1 running from the web2py app, so I'm not clear how I can import these 
>> modules.  Copying them into the app/modules folder does not seem to work 
>> either.
>>
>> Can I either
>> - change the web2py Python version to run my local python 2.7? 
>> - place the modules somewhere in the app directory structure to be found?
>> - a different solution?
>>
>> Thanks for any help!
>> -- Don
>>
>

-- 



Reply via email to