You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dinh Long Nguyen (Jira)" <ji...@apache.org> on 2021/08/18 13:43:00 UTC

[jira] [Updated] (ARROW-13657) [Python] No module named 'pyarrow._flight' (MacOS)

     [ https://issues.apache.org/jira/browse/ARROW-13657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinh Long Nguyen updated ARROW-13657:
-------------------------------------
    Summary: [Python] No module named 'pyarrow._flight' (MacOS)  (was: ModuleNotFoundError: No module named 'pyarrow._flight' (MacOS))

> [Python] No module named 'pyarrow._flight' (MacOS)
> --------------------------------------------------
>
>                 Key: ARROW-13657
>                 URL: https://issues.apache.org/jira/browse/ARROW-13657
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 5.0.0
>         Environment: Device: Macbook Air M1 2020 (MacOS Big Sur 11.5.1)
> Python version: Python 3.9.4
> Arrow version: 5.0.0
>            Reporter: Dinh Long Nguyen
>            Priority: Major
>
> ModuleNotFoundError: No module named 'pyarrow._flight'
> *Error Detail:*
> Traceback (most recent call last):
>  File "/Users/dinhlongviolin1/Active Coding Products/Avaiga/arrowtest1/backend/server.py", line 4, in <module>
>  import pyarrow.flight as fl
>  File "/Users/dinhlongviolin1/.local/share/virtualenvs/backend-OiVOEXti/lib/python3.9/site-packages/pyarrow/flight.py", line 18, in <module>
>  from pyarrow._flight import ( # noqa:F401
> ModuleNotFoundError: No module named 'pyarrow._flight'
> *Device*: Macbook Air M1 2020 (MacOS Big Sur 11.5.1)
> *Python version:* Python 3.9.4
> *Arrow version:* 5.0.0
> *Description*
> Pyarrow works fine, can import other component such as pyarrow.orc, but not pyarrow.flight
> Tried out several machines (intel 4790k, ubuntu), can import pyarrow.flight no problem.
> Even tried out VSCode Dev Container on the same macbook, can also import flight no problem.
> But I cant import when used pipenv directly within macos (I mean no container).
> *Replication process:*
> pipenv install pyarrow
> python
> >> import pyarrow.flight
> Then the error occured
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)