help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

python-pyarrow broken for parquet?


From: Phil Beadling
Subject: python-pyarrow broken for parquet?
Date: Wed, 30 Jun 2021 19:35:21 +0100

Hi all,

When trying to use the parquet module in pyarrow - it's not finding the
internal module.  This is true for latest 4.0.1 and also the previous
version (shown below).

This is despite the fact that in the underlying apache-arrow package
parquet support is explicitly turned on as far as I can see:
https://github.com/guix-mirror/guix/blob/5ed105a8bb1a812975496dc3a091596355a0234c/gnu/packages/databases.scm#L3687

#:configure-flags
(list "-DARROW_PYTHON=ON"
"-DARROW_GLOG=ON"
;; Parquet options
"-DARROW_PARQUET=ON"
"-DPARQUET_BUILD_EXECUTABLES=ON".....


Any ideas how to resolve?

Thanks,
Phil.


$ guix environment --ad-hoc python python-pyarrow
The following derivation will be built:
   /gnu/store/jvc3sbqs2nssr8gdvvyd0hgf5z80ra5b-profile.drv

building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building profile with 2 packages...

$ python3
Python 3.8.2 (default, Jan  1 1970, 00:00:01)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
*>>> import pyarrow.parquet*
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/gnu/store/53issxa0jw7l2wb7xbhp1jp5j7a91dd9-profile/lib/python3.8/site-packages/pyarrow/parquet.py",
line 33, in <module>
    import pyarrow._parquet as _parquet
*ModuleNotFoundError: No module named 'pyarrow._parquet'*
>>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]