On Thursday, June 13, 2019 at 1:47:34 AM UTC-7, Annet wrote: > > > This isn't done as sudo? >> > > With these lines I installed psycopg2 in my hosting environment, no sudo > needed. >
In my environment, the easy_install fails because I don't have write-permission to /usr/lib/python2.7/dist-packages The easy_install instructions for putting a package in a non-standard directory seem fussy, and they say "try the other ways first". I'm not sure what the purpose of the mkdir is, since easy_install doesn't know about that directory. > > | The trick seems to letting web2py know it is installed in its local > environment. > > I installed psycopg2 in the site-packages folder of the python version I > am using > same folder pip resides. > > > I am glad you solved the issue. > > Unfortunately, I've only identified a task to be done, not how to do the task. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/859b8693-a72f-49fc-8120-ad577a0756a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

