You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "ztsweet (via GitHub)" <gi...@apache.org> on 2023/04/10 02:42:19 UTC
[GitHub] [arrow-datafusion-python] ztsweet commented on issue #317: pip install datafusion==21.0.0 error
ztsweet commented on issue #317:
URL: https://github.com/apache/arrow-datafusion-python/issues/317#issuecomment-1501320003
@andygrove
`
$ python --version
Python 3.9.15
$ pip install datafusion==21.0.0 --verbose
Using pip 22.3.1 from /home/fzt/miniconda3/envs/test/lib/python3.9/site-packages/pip (python 3.9)
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting datafusion==21.0.0
Using cached https://mirrors.aliyun.com/pypi/packages/f2/46/63985a46fd8c186862cbb1c34b85505154815f095bb13e6528a66e18d261/datafusion-21.0.0.tar.gz (95 kB)
Running command pip subprocess to install build dependencies
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting maturin<0.15,>=0.11
Using cached https://mirrors.aliyun.com/pypi/packages/dd/05/bcdd149b785de55baeee3494c672f39ee34b8a615cc20dbf2bd372454992/maturin-0.14.17-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (10.5 MB)
Collecting tomli>=1.1.0
Using cached https://mirrors.aliyun.com/pypi/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl (12 kB)
Installing collected packages: tomli, maturin
Successfully installed maturin-0.14.17 tomli-2.0.1
Installing build dependencies ... done
Running command Getting requirements to build wheel
Getting requirements to build wheel ... done
Running command Preparing metadata (pyproject.toml)
💥 maturin failed
Caused by: Can't find /tmp/pip-install-4gk7356m/datafusion_d1288c2759a14295893d4d14cf66befe/Cargo.toml (in /tmp/pip-install-4gk7356m/datafusion_d1288c2759a14295893d4d14cf66befe)
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-4mqh1imi', '--interpreter', '/home/fzt/miniconda3/envs/test/bin/python']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-4mqh1imi --interpreter /home/fzt/miniconda3/envs/test/bin/python`
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/fzt/miniconda3/envs/test/bin/python /home/fzt/miniconda3/envs/test/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpujsq_7b9
cwd: /tmp/pip-install-4gk7356m/datafusion_d1288c2759a14295893d4d14cf66befe
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org