if pycall is under applications/myapp/modules, then try restarting web2py
When I created a new file under the modules folder, web2py couldn't
import until it was restarted
See if it helps
-Mandar
On Thursday, November 15, 2012 5:38:27 PM UTC+5:30, Ramos wrote:
>
> Hello
> i have web2py running in Ubuntu 12.04
>
> i installed a module Pycall as root
>
> On the ubuntu console i can import pycall but if i import in a controller
> function i get the error
>
> def phone(a):
> print "calling ",a
> from pycall import CallFile, Call, Application
> call = Call('SIP/robert')
> action = Application('Playback', 'hello-world')
> c = CallFile(call, action)
> c.spool()
> return 0
>
> *No module named pycall*
>
>
> Help would be apreciated
>
> Thanks
> António
>
--