zpifile.py error - no crc 32 attribute
Test this in the interpreter:-
It will return the location of zlib module.
On 8/22/18, jacob m <kgrenczuk at gmail.com> wrote:
> " Is there perhaps a different zlib on
> your path, hiding the real zlib?" - I'm unsure of that.
> "sudo apt-get install zlib1g-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> zlib1g-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."
> On 22 August 2018 at 13:12, jacob m <kgrenczuk at gmail.com> wrote:
>> Hi guys,
>> I have a problem with zipfile and zlib module, and hope to get some help.
>> That's my error:
>> " import zipfile
>> File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in
>> crc32 = zlib.crc32
>> AttributeError: module 'zlib' has no attribute 'crc32' "
>> I have no idea what to do with that :/ I use this version of zipfile:
>> Somebody knows how to solve it?