[issue38028] Assertion error in Python 3.8

2019-09-04 Thread Ned Deily


Ned Deily  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38028] Assertion error in Python 3.8

2019-09-04 Thread Ana

Ana  added the comment:

Well I have been looking through the interim commands running by the terminal. 
As far as I can see that’s not Numpy/scipy or whatever.

These are the setup tools, wheel and Cython. I may be wrong, but I guess these 
are pretty universal and are required by many functionalities of Python

sudo -H /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip
 install --ignore-installed --no-user --prefix 
/private/tmp/pip-build-env-b27ru_1v/overlay --no-warn-script-location 
--no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 
setuptools wheel cython
Password:
Collecting setuptools
  Using cached 
https://files.pythonhosted.org/packages/b2/86/095d2f7829badc207c893dd4ac767e871f6cd547145df797ea26baea4e2e/setuptools-41.2.0-py2.py3-none-any.whl
Collecting wheel
  Using cached 
https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Collecting cython
Installing collected packages: setuptools, wheel, cython

The error appeared right after running that command. So, is it still a Numpy 
issue?

> On 4 Sep 2019, at 19:10, Ned Deily  wrote:
> 
> 
> Ned Deily  added the comment:
> 
> NumPy has a very complex build and install process including supplying its 
> own modified version of Distutils.  You should take up any build and install 
> issues first with the NumPy project and then, if you both agree that there 
> appears to be a problem in Python itself, re-open an issue here.  We really 
> are not in a position to debug NumPy installs here.
> 
> --
> resolution:  -> third party
> stage:  -> resolved
> type: crash -> 
> 
> ___
> Python tracker 
> 
> ___

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38028] Assertion error in Python 3.8

2019-09-04 Thread Ned Deily


Ned Deily  added the comment:

NumPy has a very complex build and install process including supplying its own 
modified version of Distutils.  You should take up any build and install issues 
first with the NumPy project and then, if you both agree that there appears to 
be a problem in Python itself, re-open an issue here.  We really are not in a 
position to debug NumPy installs here.

--
resolution:  -> third party
stage:  -> resolved
type: crash -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38028] Assertion error in Python 3.8

2019-09-04 Thread Steve Dower


Change by Steve Dower :


--
nosy: +Marcus.Smith, dstufft, ncoghlan, paul.moore, pradyunsg

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38028] Assertion error in Python 3.8

2019-09-04 Thread Ana


New submission from Ana :

After all, I am trying to install the dev version of Numpy and the other libs. 
Unfortunately, I am still unable to install them. I have some assertion errors:

ERROR: Exception:
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/base_command.py",
 line 188, in main
status = self.run(options, args)
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/install.py",
 line 398, in run
installed = install_given_reqs(
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/req/__init__.py",
 line 54, in install_given_reqs
requirement.install(
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/req/req_install.py",
 line 925, in install
self.move_wheel_files(
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/req/req_install.py",
 line 453, in move_wheel_files
wheel.move_wheel_files(
  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

That's the first time I see such an issue and googling doesn't resolve it at all

--
components: macOS
messages: 351138
nosy: annelischen, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Assertion error in Python 3.8
type: crash
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com