unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* python-pyarrow broken for parquet?
@ 2021-06-30 18:35 Phil Beadling
  2021-07-02 11:01 ` zimoun
  0 siblings, 1 reply; 8+ messages in thread
From: Phil Beadling @ 2021-06-30 18:35 UTC (permalink / raw)
  To: help-guix

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'*
>>>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-17 17:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 18:35 python-pyarrow broken for parquet? Phil Beadling
2021-07-02 11:01 ` zimoun
2021-07-02 15:34   ` phil
2021-07-05 12:13     ` Phil Beadling
2021-07-05 12:15       ` Phil Beadling
2021-07-28 18:10         ` Ricardo Wurmus
2021-07-28 20:37           ` Phil
2021-08-17 12:29             ` zimoun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).