asdf-community / asdf-community/asdf-python
Error while installing Python on Ubuntu 20.04
- Dominant language
- Shell
- Stars
- 729
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Clean install of Ubuntu 20.04.
Only installed `asdf` `build-essentials` and `nodejs` from `asdf`
```
asdf install python latest
python-build 3.10.0 /home/luke/.asdf/installs/python/3.10.0
Downloading Python-3.10.0.tar.xz...
-> https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
Installing Python-3.10.0...
patching file aclocal.m4
patching file configure
Hunk #5 succeeded at 10537 (offset -15 lines).
BUILD FAILED (Ubuntu 20.04 using python-build 2.2.2-1-gf2925393)
Inspect or clean up the working tree at /tmp/python-build.20211130154109.31205
Results logged to /tmp/python-build.20211130154109.31205.log
Last 10 log lines:
File "/tmp/python-build.20211130154109.31205/Python-3.10.0/Lib/ensurepip/__init__.py", line 277, in _main
return _bootstrap(
File "/tmp/python-build.20211130154109.31205/Python-3.10.0/Lib/ensurepip/__init__.py", line 193, in _bootstrap
return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
File "/tmp/python-build.20211130154109.31205/Python-3.10.0/Lib/ensurepip/__init__.py", line 93, in _run_pip
return subprocess.run([sys.executable, '-W', 'ignore::DeprecationWarning',
File "/tmp/python-build.20211130154109.31205/Python-3.10.0/Lib/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/tmp/python-build.20211130154109.31205/Python-3.10.0/python', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmp62rz_rq2/setuptools-57.4.0-py3-none-any.whl\', \'/tmp/tmp62rz_rq2/pip-21.2.3-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmp62rz_rq2\', \'--root\', \'/\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
make: *** [Makefile:1281: install] Error 1
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.