[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

Apoorv Sachan report at bugs.python.org
Wed Feb 27 07:52:51 EST 2019


New submission from Apoorv Sachan <apoos_maximus at protonmail.com>:

#as directed in the README.rst file
#doing a 'make altinstall' instead of install to install python3.7.2 along side other versions

....this is to be performed after './configure' 'make' and 'make test' commands.
please refer issue 36134 :titled :: (two issues could be related)
"test failure : test_re; recipe for target 'test' failed"

as there was also a make test failure prior to 'make altinstall'

-------terminal--------------

user at host $ make altinstall
....
#... everything goes well....
#... process ends with this traceback


.
.
.
.

Traceback (most recent call last):
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__init__.py", line 204, in _main
    default_pip=args.default_pip,
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__init__.py", line 117, in _bootstrap
    return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/home/apoos-maximus/packages/Python-3.7.2/Lib/ensurepip/__init__.py", line 27, in _run_pip
    import pip._internal
zipimport.ZipImportError: can't decompress data; zlib not available
Makefile:1140: recipe for target 'altinstall' failed
make: *** [altinstall] Error 1

=========end==============

i do end up with a python 3.7 installation and still can't make sense of the failure.

----------
components: Installation
messages: 336749
nosy: apoos-maximus
priority: normal
severity: normal
status: open
title: altinstall error Makefile:1140: recipe for target 'altinstall' failed
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36135>
_______________________________________


More information about the Python-bugs-list mailing list