Installation of pandas fails due to compilation error
mhwombat opened this issue · comments
Code Sample, a copy-pastable example if possible
# python --version
Python 3.9.0a3
# pip3 install pandas --log amy.log
results in the error shown below. (The full installation log: amy.log)
numpy/random/mtrand/mtrand.c:43635:34: error: 'PyTypeObject' {aka 'struct _typeobject'} has no member named 'tp_print'; did you mean 'tp_dict'?
Problem description
The installation fails. I have searched the issues for "tp_print" and "mtrand.c", but I haven't found any mention of this particular error.
Expected Output
The installation should succeed.
Output of pd.show_versions()
Not applicable because pandas won't install, but here are the packages I do have installed.
# pip3 list
Package Version
---------- -------
numpy 1.18.1
pip 20.0.2
scipy 1.3.2
setuptools 45.1.0
wheel 0.34.2
Note: I am doing all this from a docker image using alpine linux, but I don't think that's the cause of this problem.
see #32045
you likely want to installed a released version
3.9 has no support atm in numpy, cython or pandas