You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Brecht Machiels (JIRA)" <ji...@apache.org> on 2017/05/23 10:10:04 UTC

[jira] [Comment Edited] (ARROW-1064) ImportError: DLL load failed on "import pyarrow"

    [ https://issues.apache.org/jira/browse/ARROW-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020978#comment-16020978 ] 

Brecht Machiels edited comment on ARROW-1064 at 5/23/17 10:09 AM:
------------------------------------------------------------------

It seems I had an older version (0.3.pre-np112py36_vc14_0 conda-forge [vc14]) of arrow-cpp installed. After upgrading to the current version (0.3.0.post-np112py36_vc14_1 conda-forge [vc14]), "import pyarrow" works, but "import pyarrow.parquet" fails:

{code}
$ python -c "import pyarrow.parquet"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\bmachie\AppData\Local\Continuum\Miniconda3\envs\ml_recommender\lib\site-packages\pyarrow\parquet.py", line 23, in <module>
    from pyarrow._parquet import (ParquetReader, FileMetaData,  # noqa
ModuleNotFoundError: No module named 'pyarrow._parquet'
{code}

parquet-cpp is installed:         1.1.0                    vc14_1  [vc14]  conda-forge





was (Author: brechtm):
It seems I had an older version (0.3.pre-np112py36_vc14_0 conda-forge [vc14]) of arrow-cpp installed. After upgrading to the current version (0.3.0.post-np112py36_vc14_1 conda-forge [vc14]), "import pyarrow" works, but "import pyarrow.parquet" fails:

{code}
$ python -c "import pyarrow.parquet"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\bmachie\AppData\Local\Continuum\Miniconda3\envs\ml_recommender\lib\site-packages\pyarrow\parquet.py", line 23, in <module>
    from pyarrow._parquet import (ParquetReader, FileMetaData,  # noqa
ModuleNotFoundError: No module named 'pyarrow._parquet'
{code}


> ImportError: DLL load failed on "import pyarrow"
> ------------------------------------------------
>
>                 Key: ARROW-1064
>                 URL: https://issues.apache.org/jira/browse/ARROW-1064
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.3.0
>         Environment: Windows 7 64-bit, conda environment, Python 3.6.1
> pyarrow: 0.3.0.post-np112py36_vc14_1 conda-forge [vc14]
>            Reporter: Brecht Machiels
>
> {code}
> $ python
> Python 3.6.1 |Continuum Analytics, Inc.| (default, Mar 22 2017, 20:11:04) [MSC v.1900 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Users\bmachie\AppData\Local\Continuum\Miniconda3\envs\ml_recommender\lib\site-packages\pyarrow\__init__.py", line 28, in <module>
>     from pyarrow.lib import cpu_count, set_cpu_count
> ImportError: DLL load failed: The specified procedure could not be found.
> >>>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)