[
https://issues.apache.org/jira/browse/ARROW-7811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335093#comment-17335093
]
nero edited comment on ARROW-7811 at 4/29/21, 2:12 AM:
-------------------------------------------------------
It doesn't seem to work on Windows.
{quote}(myenv) C:\Users\nero>pip install pyarrow==4
Looking in indexes: https://pypi.douban.com/simple/
Collecting pyarrow==4
Downloading
https://pypi.doubanio.com/packages/fb/8f/5ed45ff90c51b923e7bb35174a52f2f8cb8f12a4a158f2e924d4d3cca4bd/pyarrow-4.0.0-cp37-cp37m-win_amd64.whl
(13.3 MB)
████████████████████████████████ 13.3 MB 3.3 MB/s
Requirement already satisfied: numpy>=1.16.6 in
d:\miniconda\envs\myenv\lib\site-packages (from pyarrow==4) (1.20.2)
Installing collected packages: pyarrow
Attempting uninstall: pyarrow
Found existing installation: pyarrow 0.13.0
Uninstalling pyarrow-0.13.0:
Successfully uninstalled pyarrow-0.13.0
Successfully installed pyarrow-4.0.0
(myenv) C:\Users\nero>ipython
Python 3.7.10 (default, Feb 26 2021, 13:06:18) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.22.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pyarrow
In [2]: pyarrow.__version__
Out[2]: '4.0.0'
In [3]: import pyarrow.orc
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-b4fa6a8e5121> in <module>
----> 1 import pyarrow.orc
d:\miniconda\envs\myenv\lib\site-packages\pyarrow\orc.py in <module>
22 from pyarrow import types
23 from pyarrow.lib import Schema
---> 24 import pyarrow._orc as _orc
25
26
ModuleNotFoundError: No module named 'pyarrow._orc'
{quote}
was (Author: amznero):
It doesn't seem to work on Windows.
{quote}(myenv) C:\Users\nero>pip install pyarrow==4
Looking in indexes: https://pypi.douban.com/simple/
Collecting pyarrow==4
Downloading
https://pypi.doubanio.com/packages/fb/8f/5ed45ff90c51b923e7bb35174a52f2f8cb8f12a4a158f2e924d4d3cca4bd/pyarrow-4.0.0-cp37-cp37m-win_amd64.whl
(13.3 MB)
|████████████████████████████████| 13.3 MB 3.3 MB/s
Requirement already satisfied: numpy>=1.16.6 in
d:\miniconda\envs\myenv\lib\site-packages (from pyarrow==4) (1.20.2)
Installing collected packages: pyarrow
Attempting uninstall: pyarrow
Found existing installation: pyarrow 0.13.0
Uninstalling pyarrow-0.13.0:
Successfully uninstalled pyarrow-0.13.0
Successfully installed pyarrow-4.0.0
(myenv) C:\Users\nero>ipython
Python 3.7.10 (default, Feb 26 2021, 13:06:18) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.22.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pyarrow
In [2]: pyarrow.__version__
Out[2]: '4.0.0'
In [3]: import pyarrow.orc
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-b4fa6a8e5121> in <module>
----> 1 import pyarrow.orc
d:\miniconda\envs\myenv\lib\site-packages\pyarrow\orc.py in <module>
22 from pyarrow import types
23 from pyarrow.lib import Schema
---> 24 import pyarrow._orc as _orc
25
26
ModuleNotFoundError: No module named 'pyarrow._orc'
{quote}
> [Python] Re-enable pyarrow.orc in wheel packages
> ------------------------------------------------
>
> Key: ARROW-7811
> URL: https://issues.apache.org/jira/browse/ARROW-7811
> Project: Apache Arrow
> Issue Type: Bug
> Components: Packaging, Python
> Affects Versions: 0.15.1, 0.16.0
> Reporter: Zhenyi Zhou
> Assignee: Ying Zhou
> Priority: Major
> Labels: orc
> Attachments: image-2021-04-15-15-38-52-637.png
>
>
> Also here is a similar issue
> [https://stackoverflow.com/questions/58822095/no-module-named-pyarrow-orc]
>
> At our workplace we also see this. We don't use conda but we use pip and
> installs from PyPI. Since 0.15.1 the wheels from PyPI no longer has
> pyarrow.orc built. cudf ([https://github.com/rapidsai/cudf]) depends on
> python.orc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)