On Feb 20, 2011, at 1:22 PM, Jack Lyons wrote:
> Ok I figured out that on the MC python comes with the web2py application.
> My problem is I need to install some addditional packages.
> When i launch python and install form the consle the packages are installed 
> to the default python version 2.6 on the os  NOT to version 2.5 that came 
> with web2py.
> Any help would be greatly appreciated.

If the packages are compatible with 2.5, you could try installing them in your 
applications modules folder (create it if necessary) and using local_import. Or 
else put it in site-packages, which you'll find in 
web2py.app/Contents/Resources (you may have to run web2py once to create the 
folder, or else create it yourself).

Or run from source; I do that on OS X, and everybody does on Linux.

> 
> 
> On Sun, Feb 20, 2011 at 4:04 PM, Jonathan Lundell <[email protected]> wrote:
> On Feb 20, 2011, at 1:02 PM, Jack Lyons wrote:
>> I have it running from the source now, but it says that there is no module 
>> named gluon.widget
> 
> What command are you using, and what directory are you running from?
> 
> You should be able to do this: ls gluon/widget.py. If you can't, something is 
> wrong.
> 
> 
>> 
>> On Sun, Feb 20, 2011 at 3:59 PM, Jonathan Lundell <[email protected]> wrote:
>> On Feb 20, 2011, at 12:53 PM, Jack Lyons wrote:
>>> I am not running from the source.
>> 
>> You'll need to run from the source if you don't want to use the python built 
>> in to web2py.app.
>> 
>>> 
>>> On Sun, Feb 20, 2011 at 3:52 PM, Jack Lyons <[email protected]> wrote:
>>> This does not work. Any other suggestions?
>>> 
>>> 
>>> On Sun, Feb 20, 2011 at 3:41 PM, Bruno Rocha <[email protected]> wrote:
>>> From MacOs terminal run 
>>> 
>>> $python2.6 web2py.py
>>> 
>>> 
>>> --
>>> Bruno Rocha
>>> [ About me: http://zerp.ly/rochacbruno ]
>>> 
>>> 
>>> 
>>> 2011/2/20 Jack315 <[email protected]>
>>> 
>>> Hello,
>>> 
>>> I need help URGENTLY!
>>> 
>>> How do I change the python version that web2py uses? I have 2.6.6
>>> installed on my computer, however web2py is using 2.5.1
>>> 
>>> PS I am using Mac OS X Snow Leopard
>>> 
>>> Thanks,
>>> 
>>> -- Jack
> 
> 
> 



Reply via email to