[web2py] Re: import external libraries

2010-05-25 Thread mdipierro
You said you get this error: importerror: module use of python26.dll conflicts with this version of python did you built the module on the same machine? If you you must have c:/Python2.6/python.exe On May 25, 9:00 am, pk wrote: > ok thanks and how can i start python 2.6 under windows? thanks

Re: [web2py] Re: import external libraries

2010-05-25 Thread Thadeus Burgess
Don't edit the path in production, this can get quite nasty. -- Thadeus On Tue, May 25, 2010 at 8:36 AM, mdipierro wrote: > or just add the folder where they are now to > > sys.path.append('path/to/folder') > > this line would go in web2py.py or on top of the handler you use. > > Massimo > >

[web2py] Re: import external libraries

2010-05-25 Thread pk
ok thanks and how can i start python 2.6 under windows? thanks massimo On 25 Mai, 15:52, mdipierro wrote: > I see you have a binary library. You must use the python version to > run web2py that you used to build the binary module. > > On May 25, 8:45 am, pk wrote: > > > > > hi massimo, > > > i g

[web2py] Re: import external libraries

2010-05-25 Thread mdipierro
I see you have a binary library. You must use the python version to run web2py that you used to build the binary module. On May 25, 8:45 am, pk wrote: > hi massimo, > > i get an importerror: module use of python26.dll conflicts with this > version of python > > what can i do? > > thanks > > On 25

[web2py] Re: import external libraries

2010-05-25 Thread pk
hi massimo, i get an importerror: module use of python26.dll conflicts with this version of python what can i do? thanks On 25 Mai, 15:36, mdipierro wrote: > or just add the folder where they are now to > > sys.path.append('path/to/folder') > > this line would go in web2py.py or on top of the

[web2py] Re: import external libraries

2010-05-25 Thread mdipierro
or just add the folder where they are now to sys.path.append('path/to/folder') this line would go in web2py.py or on top of the handler you use. Massimo On May 25, 8:19 am, pk wrote: > thanks massimo i will try it > > On 25 Mai, 15:13, mdipierro wrote: > > > web2py has a folder called site-pa

[web2py] Re: import external libraries

2010-05-25 Thread pk
thanks massimo i will try it On 25 Mai, 15:13, mdipierro wrote: > web2py has a folder called site-packages. If you put your functions > there you should be able to import them. > > On May 25, 8:11 am, pk wrote: > > > > > thanks for the fast answer. > > i mean that i have a specially sdk (for the

[web2py] Re: import external libraries

2010-05-25 Thread mdipierro
web2py has a folder called site-packages. If you put your functions there you should be able to import them. On May 25, 8:11 am, pk wrote: > thanks for the fast answer. > i mean that i have a specially sdk (for the nao robot) with an own > api. > how can i use this api in web2py? > > On 25 Mai, 1

[web2py] Re: import external libraries

2010-05-25 Thread pk
thanks for the fast answer. i mean that i have a specially sdk (for the nao robot) with an own api. how can i use this api in web2py? On 25 Mai, 15:03, mdipierro wrote: > import module > > or > > from module import object > > as normally in Python. Not sure I understand what you mean by "in the >

[web2py] Re: import external libraries

2010-05-25 Thread mdipierro
import module or from module import object as normally in Python. Not sure I understand what you mean by "in the static file"/ On May 25, 7:22 am, pk wrote: > hi together, > > how can i import other external libraries in web2py? is it possible to > load up libs in the static file? > can somebo