from the error message , i think you need to install the  package zlib and
import it.

On Sat, Sep 1, 2018 at 2:31 PM Lutalo Bbosa joseph <[email protected]>
wrote:

> raceback (most recent call last):
>   File "/usr/local/bin/virtualenv", line 9, in <module>
>     load_entry_point('virtualenv==15.0.1', 'console_scripts',
> 'virtualenv')()
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 542, in load_entry_point
>     return get_distribution(dist).load_entry_point(group, name)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2569, in load_entry_point
>     return ep.load()
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2229, in load
>     return self.resolve()
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2235, in resolve
>     module = __import__(self.module_name, fromlist=['__name__'], level=0)
>   File "/usr/lib/python3/dist-packages/virtualenv.py", line 1993, in
> <module>
>     """)
>   File "/usr/lib/python3/dist-packages/virtualenv.py", line 1848, in
> convert
>     return zlib.decompress(b).decode('utf-8')
> NameError: name 'zlib' is not defined
>
> --
> 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/44266161-c188-45e9-9b91-94901b7d8232%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/44266161-c188-45e9-9b91-94901b7d8232%40googlegroups.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/CABkm6MV-OVYFk_vxZwRKCPwmOO7V1hhXccdYcUfYj1yo2v0%2BwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to