[Mailman-Developers] help with ImportError: No module named 'psycopg2'

Danil Smirnov danil at smirnov.la
Wed May 27 22:51:09 CEST 2015


2015-05-27 22:57 GMT+03:00 Abhilash Raj <raj.abhilash1 at gmail.com>:
> There are actually 2 virtualenvs for mailman. One is the default one
> that you are working in, another one(venv-3.4) is probably automatically
> created by mailman-bundler as you can see in the logs above.
> This should fix your problem.
>
>   $ source /usr/local/src/mailman-bundler/venv-3.4/bin/activate
>   $ pip install psycopg2
>   $ (reactivate your original venv)

Thanks Abhilash! It works! :)


More information about the Mailman-Developers mailing list