Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Python] Failed to install pyarrow 0.15.1 on Python 3.8 #23680

Closed
asfimport opened this issue Dec 17, 2019 · 6 comments
Closed

[Python] Failed to install pyarrow 0.15.1 on Python 3.8 #23680

asfimport opened this issue Dec 17, 2019 · 6 comments

Comments

@asfimport
Copy link
Collaborator

asfimport commented Dec 17, 2019

Hi, I cannot install pyarrow 0.15.1

Steps:


$ python3 -m venv virtualenv
$ source virtualenv/bin/activate
$ pip install numpy
$ virtualenv/bin/python3 -c 'import numpy as n; print(n.__version__); print(n.get_include());'
1.17.4
/tmp/virtualenv/lib/python3.8/site-packages/numpy/core/include

$ pip install pyarrow==0.15.1

Log: see attached log

Environment: Arch Linux (5.4.2), Python 3.8.0
Reporter: Pavol Plaskoň
Assignee: Uwe Korn / @xhochy

Related issues:

Original Issue Attachments:

PRs and other links:

Note: This issue was originally created as ARROW-7407. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Uwe Korn / @xhochy:
As mentioned in the log, you first need to install numpy to build pyarrow. This will be easier with the next release as there we will be a wheel for Python 3.8.

@asfimport
Copy link
Collaborator Author

Pavol Plaskoň:
See the third line in "Steps"...
and I thoutght that it was resolved in https://issues.apache.org/jira/browse/ARROW-6920 

@asfimport
Copy link
Collaborator Author

Uwe Korn / @xhochy:
[~enkeili] can you check that python -c 'import numpy as n; print(n.__version__); print(n.get_include());' also works?

 

In https://issues.apache.org/jira/browse/ARROW-6920 we have resolved the issue by enabling wheels for the upcoming Arrow releases, not for the last one.

@asfimport
Copy link
Collaborator Author

Pavol Plaskoň:


$ python -c 'import numpy as n; print(n.__version__); print(n.get_include());'
1.17.4
/tmp//pyarrow-test/virtualenv/lib/python3.8/site-packages/numpy/core/include 

Ok, so I'll wait for the next release, sorry for duplicate issue.

@asfimport
Copy link
Collaborator Author

Uwe Korn / @xhochy:
This is actually an issue, numpy is a build-time dependency but not declared in 

requires = ["setuptools", "wheel", "setuptools_scm", "cython >= 0.29"]

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 6048
#6048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants