Hi folks,

I'm trying to run web2py using the IPython shell on my Windows 2000
machine. I have regular Python and IPython working on my machine. I
know that web2py.exe use it's own version of python. Here are the
sys.paths for each python (regular and web2py):

>>> pp.pprint(w2p_path)
['C:\\web2py\\library.zip',
 'C:\\web2py',
 '../gluon',
 'C:\\web2py\\site-packages']
>>>
>>> pp.pprint(reg_path)
['',
 'C:\\Python254\\lib\\site-packages\\ipython-0.10-py2.5.egg',
 'C:\\Python254\\lib\\site-packages\\yolk-0.4.1-py2.5.egg',
 'C:\\Python254\\lib\\site-packages\\simplejson-2.1.1-py2.5-
win32.egg',
 'C:\\WINNT\\system32\\python25.zip',
 'C:\\Python254\\DLLs',
 'C:\\Python254\\lib',
 'C:\\Python254\\lib\\plat-win',
 'C:\\Python254\\lib\\lib-tk',
 'C:\\Python254',
 'C:\\Python254\\lib\\site-packages',
 'C:\\Python254\\lib\\site-packages\\PIL',
 'C:\\Python254\\lib\\site-packages\\joedorocak',
 'C:\\Python254\\lib\\site-packages\\win32',
 'C:\\Python254\\lib\\site-packages\\win32\\lib',
 'C:\\Python254\\lib\\site-packages\\Pythonwin',
 'C:\\Python254\\lib\\site-packages\\ipython-0.10-py2.5.egg\\IPython/
Extensions']
>>>
Since I don't have access to web2py.py, Is there another way to set
the web2py.exe initial sys.path?

Thanks in advance.

All the best,

Joe

Reply via email to