Hello, as many people have said, you can't install PostgreSQL in a virtualenv (but you can install the Python package for connecting to PostgreSQL (such as psycopg2) in a virtualenv). Maybe my article virtualenv demystified <https://djangodeployment.com/2016/11/01/virtualenv-demystified/> could clear up some confusion as to what a virtualenv is and what it does.
Regards, Antonis Antonis Christofides http://djangodeployment.com On 2018-01-24 18:56, johnf wrote: > > I doubt it is possible to install Postgres into virtualenv??? > > At least I'm not aware that it can be done. I'll do a little research and see > if I can be done. Of course it can be installed on VM. > > Johnf > > > On 01/24/2018 02:25 AM, tango ward wrote: >> Noted. Thanks >> >> On Wed, Jan 24, 2018 at 5:56 PM, Avraham Serour <[email protected] >> <mailto:[email protected]>> wrote: >> >> In any case you'll need to pip install the postgres drivers for python, I >> suggest doing that inside the env >> >> >> On Wed, Jan 24, 2018 at 11:32 AM, tango ward <[email protected] >> <mailto:[email protected]>> wrote: >> >> Got it. Thanks Anoosha >> >> On Wed, Jan 24, 2018 at 5:29 PM, 'Anoosha Masood Keen' via Django >> users <[email protected] >> <mailto:[email protected]>> wrote: >> >> Install it on your computer. >> >> On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 >> wrote: >> >> >> Hi, >> >> >> Newbie question, since I installed django and pillow inside >> virtualenv, shall I also install PostgreSQL inside >> Virtualenv? At the moment I am still using SQLite in my pet >> project. >> >> >> Regards, >> Jarvis >> >> >> -- >> You received this message because you are subscribed to the >> Google Groups "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, >> send an email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to >> [email protected] >> <mailto:[email protected]>. >> Visit this group at https://groups.google.com/group/django-users >> <https://groups.google.com/group/django-users>. >> To view this discussion on the web visit >> >> https://groups.google.com/d/msgid/django-users/962726a2-e3b3-4ee1-b81b-c1227656b7da%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/962726a2-e3b3-4ee1-b81b-c1227656b7da%40googlegroups.com?utm_medium=email&utm_source=footer>. >> >> >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, >> send an email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> Visit this group at https://groups.google.com/group/django-users >> <https://groups.google.com/group/django-users>. >> To view this discussion on the web visit >> >> https://groups.google.com/d/msgid/django-users/CAA6wQLKYD2z4dvuxESSp67CSiDDOttMJuGxizhFHyVRhA%2BHq6w%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/django-users/CAA6wQLKYD2z4dvuxESSp67CSiDDOttMJuGxizhFHyVRhA%2BHq6w%40mail.gmail.com?utm_medium=email&utm_source=footer>. >> >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> Visit this group at https://groups.google.com/group/django-users >> <https://groups.google.com/group/django-users>. >> To view this discussion on the web visit >> >> https://groups.google.com/d/msgid/django-users/CAFWa6tLjsVTidO1X4v8wB%2BBukYTjKMiif4_CLFjqsPW_3WdbDA%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/django-users/CAFWa6tLjsVTidO1X4v8wB%2BBukYTjKMiif4_CLFjqsPW_3WdbDA%40mail.gmail.com?utm_medium=email&utm_source=footer>. >> >> >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> Visit this group at https://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAA6wQLJEfdRHPR1nqYp%2BuY6-dagjAPmaBYm0WD0Famg2i2j52g%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAA6wQLJEfdRHPR1nqYp%2BuY6-dagjAPmaBYm0WD0Famg2i2j52g%40mail.gmail.com?utm_medium=email&utm_source=footer>. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/0b06b98c-06e3-adcc-47b5-77e53e5c2ee6%40jfcomputer.com > <https://groups.google.com/d/msgid/django-users/0b06b98c-06e3-adcc-47b5-77e53e5c2ee6%40jfcomputer.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d94d7f25-8762-6885-0c59-88ffad67acaf%40djangodeployment.com. For more options, visit https://groups.google.com/d/optout.

