4 ms·
I could be doing something wrong; I'm open to the possibility. And yet... `psycopg2` is a pip package that won't install without system dependencies. Yes, I us
by clebio 12y ago
I could be doing something wrong; I'm open to the possibility. And yet...
`psycopg2` is a pip package that won't install without system dependencies. Yes, I use Ansible and the system dependencies are managed. But, out of the box, on a clean system, `pip install psycopg2` doesn't just work.
- acdha 11y agoThe approach I use is to have the non-python dependencies managed externally – i.e. use APT/YUM for the postgres, mysql, redis, memcache etc. C libraries since those are very stable on a normal distribution – so a simple `pip install` will work as a non-privileged user inside a virtualenv.