Now i have another python module "requests" that i cannot import in
web2py2.X

why?



2012/11/19 António Ramos <[email protected]>

> i moved my app to web2py2.XX and it works now!
>
> thank you
> António
>
>
> 2012/11/19 Mandar Vaze <[email protected]>
>
>> 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
>>>
>> --
>>
>>
>>
>>
>
>

-- 



Reply via email to