[issue42446] Assertion error os.path.exists(pyc_path) while building Python 3.8.6 with-ensurepip
Thoradia Quack
report at bugs.python.org
Mon Nov 23 12:00:36 EST 2020
New submission from Thoradia Quack <thoradia.quack at gmail.com>:
I try building Python 3.8.6 with-ensurepip (see configuration below) but this fails with an assertion error (see error below).
I do not understand the error and I do not know how to fix it.
For what it is worth, I used to successfully build Python 3.8.5 with the same configuration.
Thank you for any help with this.
Configuration:
home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/build/Python3-3.8.6/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/toolchain --bindir=/home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin --sbindir=/home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/sbin --sysconfdir=/home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/etc --libexecdir=/home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/lib --localstatedir=/home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/var --disable-static --enable-shared ac_cv_prog_HAS_HG=/bin/false
ac_cv_prog_SVNVERSION=/bin/false
--disable-pyc-build
--disable-ossaudiodev
--disable-sqlite3
--disable-codecs-cjk
--disable-nis
--enable-unicodedata
--enable-openssl
--disable-readline
--enable-bzip2
--enable-zlib
--enable-xz
--disable-tk
--disable-curses
--disable-pydoc
--disable-test-modules
--enable-lib2to3
--disable-idle3
--without-cxx-main
--with-expat=builtin
--with-libmpdec=none
--with-doc-strings
--with-system-ffi
--without-pymalloc
--with-ensurepip
Error:
if test "xupgrade" != "xno" ; then \
case upgrade in \
upgrade) ensurepip="--upgrade" ;; \
install|*) ensurepip="" ;; \
esac; \
LD_LIBRARY_PATH=/home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/build/Python3-3.8.6/.x86_64-linux-gnu ./python -E -m ensurepip \
$ensurepip --root=/ ; \
fi
Looking in links: /tmp/tmpm7whdxa4
Requirement already up-to-date: setuptools in /home/thoradia/9.80.8/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/lib/python3.8/site-packages (49.2.1)
Processing /tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl
Installing collected packages: pip
ERROR: Exception:
Traceback (most recent call last):
File "/tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl/pip/_internal/cli/base_command.py", line 216, in _main
status = self.run(options, args)
File "/tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl/pip/_internal/commands/install.py", line 412, in run
installed = install_given_reqs(
File "/tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl/pip/_internal/req/__init__.py", line 82, in install_given_reqs
requirement.install(
File "/tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl/pip/_internal/req/req_install.py", line 813, in install
install_wheel(
File "/tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl/pip/_internal/operations/install/wheel.py", line 852, in install_wheel
_install_wheel(
File "/tmp/tmpm7whdxa4/pip-20.2.1-py2.py3-none-any.whl/pip/_internal/operations/install/wheel.py", line 734, in _install_wheel
assert os.path.exists(pyc_path)
AssertionError
----------
components: Build
messages: 381680
nosy: thoradia
priority: normal
severity: normal
status: open
title: Assertion error os.path.exists(pyc_path) while building Python 3.8.6 with-ensurepip
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42446>
_______________________________________
More information about the Python-bugs-list
mailing list