Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Installation of pandas fails due to compilation error #32114

Closed
mhwombat opened this issue Feb 19, 2020 · 1 comment
Closed

Installation of pandas fails due to compilation error #32114

mhwombat opened this issue Feb 19, 2020 · 1 comment

Comments

@mhwombat
Copy link

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.

@jreback
Copy link
Contributor

jreback commented Feb 19, 2020

see #32045

you likely want to installed a released version

3.9 has no support atm in numpy, cython or pandas

@jreback jreback closed this as completed Feb 19, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants