Ignore following - I didn't realize the problem was resolved - my bad. On Thu, Nov 22, 2012 at 6:37 PM, Mandar Vaze / मंदार वझे < mandarv...@gmail.com> wrote:
> "requests" seems common name, possible conflict ? > Depending on your web2py version, check to see if the following > discussions are useful > > > https://groups.google.com/forum/?fromgroups=#!searchin/web2py/import$20conflict/web2py/esjhf77d_jg/P0Dvc2nLur4J > > https://groups.google.com/forum/?fromgroups=#!searchin/web2py/import$20conflict/web2py/GY5NPJWmuMI/Nn8CNHBs1hAJ > > https://groups.google.com/forum/?fromgroups=#!searchin/web2py/import$20conflict/web2py/GY5NPJWmuMI/Nn8CNHBs1hAJ > > try changing name of your module from requests to myapprequests or some > such to avoid conflict > > -Mandar > > > On Thu, Nov 22, 2012 at 4:20 PM, António Ramos <ramstei...@gmail.com>wrote: > >> Now i have another python module "requests" that i cannot import in >> web2py2.X >> >> why? >> >> >> >> 2012/11/19 António Ramos <ramstei...@gmail.com> >> >>> i moved my app to web2py2.XX and it works now! >>> >>> thank you >>> António >>> >>> >>> 2012/11/19 Mandar Vaze <mandarv...@gmail.com> >>> >>>> 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 >>>>> >>>> -- >>>> >>>> >>>> >>>> >>> >>> >> -- >> >> >> >> > > --