[issue38028] Assertion error in Python 3.8

Ned Deily report at bugs.python.org
Wed Sep 4 12:37:47 EDT 2019


Ned Deily <nad at python.org> added the comment:

The traceback you provide in the first message:

  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/wheel.py", line 324, in move_wheel_files
    scheme = distutils_scheme(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/locations.py", line 104, in distutils_scheme
    assert not (home and prefix), "home={} prefix={}".format(home, prefix)
AssertionError: home=/private/tmp/pip-target-4p5evqc_ prefix=/private/tmp/pip-build-env-b27ru_1v/overlay

shows a reference to a Distutils data structure.  As I noted above, NumPy has (or at least it used to have) its own customized version of Distutils.  So that seems quite likely to be due to some incompatibility between the two versions of Distutil. 

And, in any case, if it were to be determined that there is a problem with pip or setuptools or cython, each of those projects has its own issue tracker.  Again, you should start with the NumPy project since they are the ones who make all these pieces work together by providing NumPy's build and installation scripts.

----------
status: open -> closed

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


More information about the Python-bugs-list mailing list