Error No module named zlib

1,721 views
Skip to first unread message

Norman Rich

unread,
Dec 29, 2014, 12:33:00 AM12/29/14
to eve...@googlegroups.com
I get this error when I try to  python manage.py migrate 

 import zlib
ImportError: No module named zlib


I have tried to install zlib and thought it went ok but still get this error. Please help.

Kelketek Rritaa

unread,
Dec 30, 2014, 2:16:16 PM12/30/14
to eve...@googlegroups.com
zlib is part of the Python standard library. It should only be missing if your install of Python wasn't compiled with it.

What version of Python are you running, and on what platform?

--
--
You received this message because you are subscribed to the "Evennia" MU* server mailing list.
To post to this group, send email to eve...@googlegroups.com (or use the web interface).
To unsubscribe from this group, send email to evennia+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/evennia?hl=en

---
You received this message because you are subscribed to the Google Groups "Evennia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to evennia+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Norman Rich

unread,
Dec 30, 2014, 6:28:01 PM12/30/14
to eve...@googlegroups.com
I was using Fedora 21 on virtualbox and Python 2.7.9. This situation was driving me insane so I am now using Ubuntu 14.04 LTS. I still have Fedora too though. I only switched because I was using virtualbox and was only for testing purpose. Otherwise I would still be stuck. It works perfectly with Ubuntu. :D

Griatch Art

unread,
Jan 5, 2015, 4:32:46 AM1/5/15
to eve...@googlegroups.com
A Google search for "python zlib fedora 21" suggests that fedora might be packaging zlib as a "python-gzipstream" package, try adding that to see if fedora likes it better.
.
Griatch

Norman Rich

unread,
Jan 5, 2015, 7:46:29 AM1/5/15
to eve...@googlegroups.com
Ahh well I was searching for zlib fedora and was basically getting links to what I already had. I didn't think to search for python zlib fedora 21. 

Norman Rich

unread,
Jan 6, 2015, 6:49:55 PM1/6/15
to eve...@googlegroups.com
Ok so I tried that still not working. I give up on getting it to work with Fedora. I am going to just stick with ubuntu and mark fedora as a linux distro that I won't try again. Thanks for the help.
Reply all
Reply to author
Forward
0 new messages