Hi all,
Thanks for your help, I reinstalled my Python and now it seems to be
working :)
Before building Python3 i uncommented:
#zlib zlibmodule.c -I$(prefix)/include
in Modules/Setup.dist and then I enabled ipv6 during the configuration.
Regards
On Thu, 23 Aug 2018 at 01:59, MRAB wrote:
> On 201
On 2018-08-22 23:43, jacob m wrote:
" import zlib
print(zlib.__file__)"
When I don't have the zlib uploaded to my Python3.7 library, I have the
following error:
"Traceback (most recent call last):
File "./testx.py", line 2, in
import zlib
ModuleNotFoundError: No module named 'zlib'"
Wh
On 08/23/2018 12:43 AM, jacob m wrote:
" import zlib
print(zlib.__file__)"
When I don't have the zlib uploaded to my Python3.7 library, I have the
following error:
"Traceback (most recent call last):
File "./testx.py", line 2, in
import zlib
ModuleNotFoundError: No module named 'zlib'
Test this in the interpreter:-
import zlib
zlib.__file__
It will return the location of zlib module.
On 8/22/18, jacob m wrote:
> Hi,
> " 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 packag
" import zlib
print(zlib.__file__)"
When I don't have the zlib uploaded to my Python3.7 library, I have the
following error:
"Traceback (most recent call last):
File "./testx.py", line 2, in
import zlib
ModuleNotFoundError: No module named 'zlib'"
When I download the zlib 1.2.11 from http:
Hi,
" 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 t
On Wed, 22 Aug 2018 13:12:59 +0200, jacob m wrote:
[snip]
> 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