Please report such problems on our bug tracker: http://bugs.python.org/
In your case, Python doesn't appear to find the (right) libz shared library, which is a bit odd, but it's better to track this down on the tracker :-) On 16.02.2017 21:33, Patrick Wallinger wrote: > I'm brand new to python and was trying to install the newest version > (3.6.0) on my ubuntu 16.04.1 but couldn't get it to build error free. I > tried searching the bugs but didn't see a match for what I am seeing. > > Thanks for any help, > Patrick > > Here is the report: > patrick@ubuntu-MacBook:~/Programs/Python-3.6.0$ ./python -m test -v > test_venv > == CPython 3.6.0 (default, Feb 16 2017, 13:20:29) [GCC 5.4.0 20160609] > == Linux-4.4.0-62-generic-x86_64-with-debian-stretch-sid little-endian > == hash algorithm: siphash24 64bit > == cwd: /home/patrick/Programs/Python-3.6.0/build/test_python_20536 > == encodings: locale=UTF-8, FS=utf-8 > Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, > optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, > ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, > hash_randomization=1, isolated=0) > Run tests sequentially > 0:00:00 [1/1] test_venv > test_defaults (test.test_venv.BasicTest) ... ok > test_executable (test.test_venv.BasicTest) ... ok > test_executable_symlinks (test.test_venv.BasicTest) ... ok > test_isolation (test.test_venv.BasicTest) ... ok > test_overwrite_existing (test.test_venv.BasicTest) ... ok > test_prefixes (test.test_venv.BasicTest) ... ok > test_prompt (test.test_venv.BasicTest) ... ok > test_symlinking (test.test_venv.BasicTest) ... ok > test_unoverwritable_fails (test.test_venv.BasicTest) ... ok > test_upgrade (test.test_venv.BasicTest) ... ok > test_devnull (test.test_venv.EnsurePipTest) ... ok > test_explicit_no_pip (test.test_venv.EnsurePipTest) ... ok > test_no_pip_by_default (test.test_venv.EnsurePipTest) ... ok > test_with_pip (test.test_venv.EnsurePipTest) ... FAIL > > ====================================================================== > FAIL: test_with_pip (test.test_venv.EnsurePipTest) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/home/patrick/Programs/Python-3.6.0/Lib/test/test_venv.py", line > 372, in test_with_pip > with_pip=True) > subprocess.CalledProcessError: Command '['/tmp/tmp51me85og/bin/python', > '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit > status 1. > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/patrick/Programs/Python-3.6.0/Lib/test/test_venv.py", line > 378, in test_with_pip > self.fail(msg.format(exc, details)) > AssertionError: Command '['/tmp/tmp51me85og/bin/python', '-Im', > 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. > > **Subprocess Output** > Traceback (most recent call last): > File "/home/patrick/Programs/Python-3.6.0/Lib/runpy.py", line 193, in > _run_module_as_main > "__main__", mod_spec) > File "/home/patrick/Programs/Python-3.6.0/Lib/runpy.py", line 85, in > _run_code > exec(code, run_globals) > File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__main__.py", > line 4, in <module> > ensurepip._main() > File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__init__.py", > line 189, in _main > default_pip=args.default_pip, > File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__init__.py", > line 102, in bootstrap > _run_pip(args + [p[0] for p in _PROJECTS], additional_paths) > File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__init__.py", > line 27, in _run_pip > import pip > zipimport.ZipImportError: can't decompress data; zlib not available > > > ---------------------------------------------------------------------- > Ran 14 tests in 1.278s > > FAILED (failures=1) > test test_venv failed > test_venv failed > > 1 test failed: > test_venv > > Total duration: 1 sec > Tests result: FAILURE > > > > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/mal%40egenix.com > -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, Feb 17 2017) >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ >>> Python Database Interfaces ... http://products.egenix.com/ >>> Plone/Zope Database Interfaces ... http://zope.egenix.com/ ________________________________________________________________________ ::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/ _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com