You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "John Simpson (Jira)" <ji...@apache.org> on 2022/01/27 20:12:00 UTC

[jira] [Created] (ARROW-15490) module 'pyarrow' has no attribute 'jvm'

John Simpson created ARROW-15490:
------------------------------------

             Summary: module 'pyarrow' has no attribute 'jvm'
                 Key: ARROW-15490
                 URL: https://issues.apache.org/jira/browse/ARROW-15490
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 5.0.0
         Environment: Red Hat Enterprise Linux Server release 7.9 (Maipo)
            Reporter: John Simpson


I followed steps at [fast-jdbc-access-in-python-using-pyarrow-jvm|https://uwekorn.com/2019/11/17/fast-jdbc-access-in-python-using-pyarrow-jvm.html]  

I got as far as trying to execute this line of code: 
df = pyarrow.jvm.record_batch(batch).to_pandas()
When trying to execute this line, I get an error:  module 'pyarrow' has no attribute 'jvm'
{code:java}
$ conda --version
conda 4.9.2
$ python --version
Python 3.8.0
$ pip show pyarrow
Name: pyarrow
Version: 5.0.0
Summary: Python library for Apache Arrow
Home-page: https://arrow.apache.org/
Author:
Author-email:
License: Apache License, Version 2.0
Location: ~/pebble_test/venv/lib/python3.8/site-packages
Requires: numpy
Required-by:
 {code}
Please let me know if any other information is needed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)