Re: [Mailman-Developers] Help regarding an error during installation
Hi Daman,
On 03/10/2016 07:18 AM, Daman Singh wrote:
Hello everyone!
I am trying to install mailman for development using mailman-bundler. I followed the instructions given here http://mailman-bundler.readthedocs.org/en/latest/ , but i am facing a problem. When i run buildout command i get an error saying,"no module named 'zlib'" but on running ipython, when i import zlib it works all right.
When running buildout in mailman-bundler, it generally creates a virtualenv of its own, which might not have 'zlib not installed in it. Just look for the virtualenv that gives this error(it could be venv-3.4, that bundler makes for running mailman in), activate that, and install 'zlib in there.
I am not sure where is this error coming from, but for general python projects, this is a general solution.
-- thanks, Abhilash Raj
@Simon thanks for the help. I have successfully setup the dev environment.
@Abhilash I have checked it twice but no new virtualenv is created. I use virtualenv for projects and have used one for this also, and zlib was installed in that env. Moreover, i tried to install it on Ubuntu installed in virtual machine, and it ran absolutely fine.
Best Daman
On Fri, Mar 11, 2016 at 2:02 AM, Abhilash Raj <raj.abhilash1@gmail.com> wrote:
Hi Daman,
On 03/10/2016 07:18 AM, Daman Singh wrote:
Hello everyone!
I am trying to install mailman for development using mailman-bundler. I followed the instructions given here http://mailman-bundler.readthedocs.org/en/latest/ , but i am facing a problem. When i run buildout command i get an error saying,"no module named 'zlib'" but on running ipython, when i import zlib it works all right.
When running buildout in mailman-bundler, it generally creates a virtualenv of its own, which might not have 'zlib not installed in it. Just look for the virtualenv that gives this error(it could be venv-3.4, that bundler makes for running mailman in), activate that, and install 'zlib in there.
I am not sure where is this error coming from, but for general python projects, this is a general solution.
-- thanks, Abhilash Raj
Abhilash Raj writes:
On 03/10/2016 07:18 AM, Daman Singh wrote:
When i run buildout command i get an error saying,"no module named 'zlib'" but on running ipython, when i import zlib it works all right.
When running buildout in mailman-bundler, it generally creates a virtualenv of its own, which might not have 'zlib not installed in it.
This doesn't make a lot of sense to me, as zlib is in the stdlib, and therefore should be installed if Python is. Something weird is going on here, such as crossing PYTHON_PATHs.
I'm beginning to agree with Simon: unless your project is to *fix bundler*, developers should avoid bundler for now.
participants (3)
-
Abhilash Raj
-
Daman Singh
-
Stephen J. Turnbull