Dinh Long Nguyen created ARROW-13657:
----------------------------------------
Summary: ModuleNotFoundError: 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
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)