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

Wes McKinney commented on ARROW-1554:
-------------------------------------

Cool. I changed the JIRA title so that we can add a note to the Sphinx docs 
about this issue

> [Python] Document that pip wheels depend on MSVC14 runtime
> ----------------------------------------------------------
>
>                 Key: ARROW-1554
>                 URL: https://issues.apache.org/jira/browse/ARROW-1554
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.7.0
>         Environment: Windows 10 (x64)
> Python 3.6.2 (x64)
>            Reporter: Dima Ryazanov
>             Fix For: 0.8.0
>
>         Attachments: parquet_dependencies.png, Process Monitor.png
>
>
> I just tried pyarrow on Windows 10, and it fails to import for me:
> {code}
> >>> import pyarrow
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Program Files\Python36\lib\site-packages\pyarrow\__init__.py", 
> line 32, in <module>
>     from pyarrow.lib import cpu_count, set_cpu_count
> ImportError: DLL load failed: The specified module could not be found.
> {code}
> Not sure which DLL is failing, but I do see some DLLs in the pyarrow folder:
> {code}
> C:\Users\dima\Documents>dir "C:\Program 
> Files\Python36\lib\site-packages\pyarrow\"
>  Volume in drive C has no label.
>  Volume Serial Number is 4CE9-CC3C
>  Directory of C:\Program Files\Python36\lib\site-packages\pyarrow
> 09/19/2017  01:14 AM    <DIR>          .
> 09/19/2017  01:14 AM    <DIR>          ..
> 09/19/2017  01:14 AM         2,382,336 arrow.dll
> 09/19/2017  01:14 AM           604,160 arrow_python.dll
> 09/19/2017  01:14 AM             3,402 compat.py
> ...
> {code}
> However, I cannot open them using ctypes.cdll. I wonder if some dependency is 
> missing?
> {code}
> >>> open('C:\\Program 
> >>> Files\\Python36\\Lib\\site-packages\\pyarrow\\parquet.dll', 'rb')
> <_io.BufferedReader name='C:\\Program 
> Files\\Python36\\Lib\\site-packages\\pyarrow\\parquet.dll'>
> >>>
> >>> cdll.LoadLibrary('C:\\Program 
> >>> Files\\Python36\\Lib\\site-packages\\pyarrow\\parquet.dll')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Program Files\Python36\lib\ctypes\__init__.py", line 426, in 
> LoadLibrary
>     return self._dlltype(name)
>   File "C:\Program Files\Python36\lib\ctypes\__init__.py", line 348, in 
> __init__
>     self._handle = _dlopen(self._name, mode)
> OSError: [WinError 126] The specified module could not be found
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to