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

Kazuaki Ishizaki edited comment on ARROW-6015 at 8/31/19 5:57 AM:
------------------------------------------------------------------

I believe that I identified how to fix this issue.

To install {{Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 
and 2019.}} from 
[https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads]
 avoids this error.
I think that this problem does not occur with conda. This problem occurs with 
only pip.

The following is my validation step. If someone double-checks it, we would 
appreciate it.
{code:java}
// Install Windows10 enterprise (no additional application is installed)
> mkdir c:\pyarrow
> cd c:\pyarrow
> bitsadmin /TRANSFER htmlget 
> [https://www.python.org/ftp/python/3.7.4/python-3.7.4-embed-amd64.zip] 
> c:\pyarrow\python-3.7.4-embed-amd64.zip
extract all python-3.7.4-embed-amd64.zip to c:\pyarrow\python-3.7.4-embed-amd64 
from Explorer
> cd python-3.7.4-embed-amd64
notepad python37._pth
...
#import site <=== remove # in this line
> type python37._pth
python37.zip
.
 # Uncomment to run site.main() automatically
import site

> python get-pip.py
...
Successfully installed pip-19.2.3 setuptools-41.2.0 wheel-0.33.6
> python -m pip install pyarrow
C:\pyarrow\python-3.7.4-embed-amd64>python -m pip install pyarrow
Collecting pyarrow
Downloading 
[https://files.pythonhosted.org/packages/97/7c/0ea4554d64c6ed3d6d4f8da492df287d2496adbab2b35c01433cf1344521/pyarrow-0.14.0-cp37-cp37m-win_amd64.whl]
 (17.4MB)
...
Collecting numpy>=1.14 (from pyarrow)
Downloading 
[https://files.pythonhosted.org/packages/cb/41/05fbf6944b098eb9d53e8a29a9dbfa20a7448f3254fb71499746a29a1b2d/numpy-1.17.1-cp37-cp37m-win_amd64.whl]
 (12.8MB)|
...
Collecting six>=1.0.0 (from pyarrow)
Downloading 
[https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl]
Installing collected packages: numpy, six, pyarrow
WARNING: The script f2py.exe is installed in 
'C:\pyarrow\python-3.7.4-embed-amd64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
WARNING: The script plasma_store.exe is installed in 
'C:\pyarrow\python-3.7.4-embed-amd64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
Successfully installed numpy-1.17.1 pyarrow-0.14.0 six-1.12.0
> python -c "import pyarrow"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File 
"C:\pyarrow\python-3.7.4-embed-amd64\lib\site-packages\pyarrow__init__.py", 
line 49, in <module>
from pyarrow.lib import cpu_count, set_cpu_count
ImportError: DLL load failed: The specified module could not be found.
> python -m pip freeze
numpy==1.17.1
pyarrow==0.14.0
six==1.12.0
> dir Lib\site-packages\pyarrow
Volume in drive C is OS
Volume Serial Number is 1234-5678|

Directory of C:\pyarrow\python-3.7.4-embed-amd64\Lib\site-packages\pyarrow

08/31/2019 05:42 AM <DIR> .
08/31/2019 05:42 AM <DIR> ..
08/31/2019 05:42 AM 47,658 array.pxi
08/31/2019 05:42 AM 5,748,736 arrow.dll
08/31/2019 05:42 AM 1,653,120 arrow.lib
08/31/2019 05:42 AM 1,795,072 arrow_flight.dll
08/31/2019 05:42 AM 121,062 arrow_flight.lib
08/31/2019 05:42 AM 910,848 arrow_python.dll
08/31/2019 05:42 AM 119,994 arrow_python.lib
08/31/2019 05:42 AM 869 benchmark.pxi
08/31/2019 05:42 AM 895 benchmark.py
08/31/2019 05:42 AM 2,774 builder.pxi
08/31/2019 05:42 AM 81,920 cares.dll
08/31/2019 05:42 AM 3,691 compat.py
08/31/2019 05:42 AM 911 csv.py
08/31/2019 05:42 AM 1,126 cuda.py
08/31/2019 05:42 AM 3,161 error.pxi
08/31/2019 05:42 AM 4,026 feather.pxi
08/31/2019 05:42 AM 7,291 feather.py
08/31/2019 05:42 AM 12,472 filesystem.py
08/31/2019 05:42 AM 1,286 flight.py
08/31/2019 05:42 AM 186,880 gandiva.cp37-win_amd64.pyd
08/31/2019 05:42 AM 791,664 gandiva.cpp
08/31/2019 05:42 AM 22,094,848 gandiva.dll
08/31/2019 05:42 AM 305,626 gandiva.lib
08/31/2019 05:42 AM 16,553 gandiva.pyx
08/31/2019 05:42 AM 7,032 hdfs.py
08/31/2019 05:42 AM <DIR> include
08/31/2019 05:42 AM <DIR> includes
08/31/2019 05:42 AM 13,995 io-hdfs.pxi
08/31/2019 05:42 AM 48,879 io.pxi
08/31/2019 05:42 AM 15,981 ipc.pxi
08/31/2019 05:42 AM 6,178 ipc.py
08/31/2019 05:42 AM 897 json.py
08/31/2019 05:42 AM 8,623 jvm.py
08/31/2019 05:42 AM 1,553,408 lib.cp37-win_amd64.pyd
08/31/2019 05:42 AM 6,756,155 lib.cpp
08/31/2019 05:42 AM 10,652 lib.pxd
08/31/2019 05:42 AM 3,570 lib.pyx
08/31/2019 05:42 AM 3,243,008 libcrypto-1_1-x64.dll
08/31/2019 05:42 AM 2,613,248 libprotobuf.dll
08/31/2019 05:42 AM 650,240 libssl-1_1-x64.dll
08/31/2019 05:42 AM 13,435 lib_api.h
08/31/2019 05:42 AM 4,724 memory.pxi
08/31/2019 05:42 AM 4,912 orc.py
08/31/2019 05:42 AM 5,789 pandas-shim.pxi
08/31/2019 05:42 AM 33,456 pandas_compat.py
08/31/2019 05:42 AM 1,789,952 parquet.dll
08/31/2019 05:42 AM 346,864 parquet.lib
08/31/2019 05:42 AM 52,331 parquet.py
08/31/2019 05:42 AM 5,780 plasma.py
08/31/2019 05:42 AM 8,778 public-api.pxi
08/31/2019 05:42 AM 23,060 scalar.pxi
08/31/2019 05:42 AM 15,427 serialization.pxi
08/31/2019 05:42 AM 12,588 serialization.py
08/31/2019 05:42 AM 46,760 table.pxi
08/31/2019 05:42 AM <DIR> tensorflow
08/31/2019 05:42 AM <DIR> tests
08/31/2019 05:42 AM 48,149 types.pxi
08/31/2019 05:42 AM 6,609 types.py
08/31/2019 05:42 AM 3,549 util.py
08/31/2019 05:42 AM 89,600 zlib.dll
08/31/2019 05:42 AM 106,496 _csv.cp37-win_amd64.pyd
08/31/2019 05:42 AM 493,978 _csv.cpp
08/31/2019 05:42 AM 14,861 _csv.pyx
08/31/2019 05:42 AM 1,934 _cuda.pxd
08/31/2019 05:42 AM 34,567 _cuda.pyx
08/31/2019 05:42 AM 346,112 _flight.cp37-win_amd64.pyd
08/31/2019 05:42 AM 1,518,124 _flight.cpp
08/31/2019 05:42 AM 46,504 _flight.pyx
08/31/2019 05:42 AM 121 _generated_version.py
08/31/2019 05:42 AM 52,736 _json.cp37-win_amd64.pyd
08/31/2019 05:42 AM 311,759 _json.cpp
08/31/2019 05:42 AM 6,413 _json.pyx
08/31/2019 05:42 AM 2,156 _orc.pxd
08/31/2019 05:42 AM 3,670 _orc.pyx
08/31/2019 05:42 AM 281,600 _parquet.cp37-win_amd64.pyd
08/31/2019 05:42 AM 1,352,623 _parquet.cpp
08/31/2019 05:42 AM 17,061 _parquet.pxd
08/31/2019 05:42 AM 44,057 _parquet.pyx
08/31/2019 05:42 AM 27,524 _plasma.pyx
08/31/2019 05:42 AM 1,749 __init__.pxd
08/31/2019 05:42 AM 10,564 __init__.py
08/31/2019 05:42 AM <DIR> __pycache__
77 File(s) 56,030,721 bytes
7 Dir(s) 22,981,132,288 bytes free

// The following two steps installs Microsoft Visual C++ Redistributable for 
Visual Studio 2015, 2017 and 2019
> bitsadmin /TRANSFER htmlget [https://aka.ms/vs/16/release/vc_redist.x64.exe] 
> c:\pyarrow\vc_redist.x64.exe
> ..\vc_redist.x64.exe

> python -c "import pyarrow"
> python -c "import pyarrow ; print (pyarrow.cpu_count())"
4
> python -m pip freeze
numpy==1.17.1
pyarrow==0.14.0
six==1.12.0
> dir Lib\site-packages\pyarrow
Volume in drive C is OS
Volume Serial Number is 1234-5678

Directory of C:\pyarrow\python-3.7.4-embed-amd64\Lib\site-packages\pyarrow

08/31/2019 05:42 AM <DIR> .
08/31/2019 05:42 AM <DIR> ..
08/31/2019 05:42 AM 47,658 array.pxi
08/31/2019 05:42 AM 5,748,736 arrow.dll
08/31/2019 05:42 AM 1,653,120 arrow.lib
08/31/2019 05:42 AM 1,795,072 arrow_flight.dll
08/31/2019 05:42 AM 121,062 arrow_flight.lib
08/31/2019 05:42 AM 910,848 arrow_python.dll
08/31/2019 05:42 AM 119,994 arrow_python.lib
08/31/2019 05:42 AM 869 benchmark.pxi
08/31/2019 05:42 AM 895 benchmark.py
08/31/2019 05:42 AM 2,774 builder.pxi
08/31/2019 05:42 AM 81,920 cares.dll
08/31/2019 05:42 AM 3,691 compat.py
08/31/2019 05:42 AM 911 csv.py
08/31/2019 05:42 AM 1,126 cuda.py
08/31/2019 05:42 AM 3,161 error.pxi
08/31/2019 05:42 AM 4,026 feather.pxi
08/31/2019 05:42 AM 7,291 feather.py
08/31/2019 05:42 AM 12,472 filesystem.py
08/31/2019 05:42 AM 1,286 flight.py
08/31/2019 05:42 AM 186,880 gandiva.cp37-win_amd64.pyd
08/31/2019 05:42 AM 791,664 gandiva.cpp
08/31/2019 05:42 AM 22,094,848 gandiva.dll
08/31/2019 05:42 AM 305,626 gandiva.lib
08/31/2019 05:42 AM 16,553 gandiva.pyx
08/31/2019 05:42 AM 7,032 hdfs.py
08/31/2019 05:42 AM <DIR> include
08/31/2019 05:42 AM <DIR> includes
08/31/2019 05:42 AM 13,995 io-hdfs.pxi
08/31/2019 05:42 AM 48,879 io.pxi
08/31/2019 05:42 AM 15,981 ipc.pxi
08/31/2019 05:42 AM 6,178 ipc.py
08/31/2019 05:42 AM 897 json.py
08/31/2019 05:42 AM 8,623 jvm.py
08/31/2019 05:42 AM 1,553,408 lib.cp37-win_amd64.pyd
08/31/2019 05:42 AM 6,756,155 lib.cpp
08/31/2019 05:42 AM 10,652 lib.pxd
08/31/2019 05:42 AM 3,570 lib.pyx
08/31/2019 05:42 AM 3,243,008 libcrypto-1_1-x64.dll
08/31/2019 05:42 AM 2,613,248 libprotobuf.dll
08/31/2019 05:42 AM 650,240 libssl-1_1-x64.dll
08/31/2019 05:42 AM 13,435 lib_api.h
08/31/2019 05:42 AM 4,724 memory.pxi
08/31/2019 05:42 AM 4,912 orc.py
08/31/2019 05:42 AM 5,789 pandas-shim.pxi
08/31/2019 05:42 AM 33,456 pandas_compat.py
08/31/2019 05:42 AM 1,789,952 parquet.dll
08/31/2019 05:42 AM 346,864 parquet.lib
08/31/2019 05:42 AM 52,331 parquet.py
08/31/2019 05:42 AM 5,780 plasma.py
08/31/2019 05:42 AM 8,778 public-api.pxi
08/31/2019 05:42 AM 23,060 scalar.pxi
08/31/2019 05:42 AM 15,427 serialization.pxi
08/31/2019 05:42 AM 12,588 serialization.py
08/31/2019 05:42 AM 46,760 table.pxi
08/31/2019 05:42 AM <DIR> tensorflow
08/31/2019 05:42 AM <DIR> tests
08/31/2019 05:42 AM 48,149 types.pxi
08/31/2019 05:42 AM 6,609 types.py
08/31/2019 05:42 AM 3,549 util.py
08/31/2019 05:42 AM 89,600 zlib.dll
08/31/2019 05:42 AM 106,496 _csv.cp37-win_amd64.pyd
08/31/2019 05:42 AM 493,978 _csv.cpp
08/31/2019 05:42 AM 14,861 _csv.pyx
08/31/2019 05:42 AM 1,934 _cuda.pxd
08/31/2019 05:42 AM 34,567 _cuda.pyx
08/31/2019 05:42 AM 346,112 _flight.cp37-win_amd64.pyd
08/31/2019 05:42 AM 1,518,124 _flight.cpp
08/31/2019 05:42 AM 46,504 _flight.pyx
08/31/2019 05:42 AM 121 _generated_version.py
08/31/2019 05:42 AM 52,736 _json.cp37-win_amd64.pyd
08/31/2019 05:42 AM 311,759 _json.cpp
08/31/2019 05:42 AM 6,413 _json.pyx
08/31/2019 05:42 AM 2,156 _orc.pxd
08/31/2019 05:42 AM 3,670 _orc.pyx
08/31/2019 05:42 AM 281,600 _parquet.cp37-win_amd64.pyd
08/31/2019 05:42 AM 1,352,623 _parquet.cpp
08/31/2019 05:42 AM 17,061 _parquet.pxd
08/31/2019 05:42 AM 44,057 _parquet.pyx
08/31/2019 05:42 AM 27,524 _plasma.pyx
08/31/2019 05:42 AM 1,749 __init__.pxd
08/31/2019 05:42 AM 10,564 __init__.py
08/31/2019 05:42 AM <DIR> __pycache__
77 File(s) 56,030,721 bytes
7 Dir(s) 22,936,629,248 bytes free
>
{code}


was (Author: kiszk):
I believe that I identified how to fix this issue.

To install {{Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 
and 2019.}} from 
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
 avoids this error.
I think that this problem does not occur with conda. This problem occurs with 
only pip.

The following is my validation step. If someone double-checks it, we would 
appreciate it.
{{code}}
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads


Install Windows10 enterprise (no additional application is installed)

> mkdir c:\pyarrow
> cd c:\pyarrow
> bitsadmin /TRANSFER htmlget 
> https://www.python.org/ftp/python/3.7.4/python-3.7.4-embed-amd64.zip 
> c:\pyarrow\python-3.7.4-embed-amd64.zip
extract all python-3.7.4-embed-amd64.zip to c:\pyarrow\python-3.7.4-embed-amd64 
from Explorer
> cd python-3.7.4-embed-amd64
notepad python37._pth
...
#import site  <=== remove # in this line
> type python37._pth
python37.zip
.

# Uncomment to run site.main() automatically
import site

> python get-pip.py
...
Successfully installed pip-19.2.3 setuptools-41.2.0 wheel-0.33.6
> python -m pip install pyarrow
C:\pyarrow\python-3.7.4-embed-amd64>python -m pip install pyarrow
Collecting pyarrow
  Downloading 
https://files.pythonhosted.org/packages/97/7c/0ea4554d64c6ed3d6d4f8da492df287d2496adbab2b35c01433cf1344521/pyarrow-0.14.0-cp37-cp37m-win_amd64.whl
 (17.4MB)
     |████████████████████████████████| 17.4MB 6.4MB/s
Collecting numpy>=1.14 (from pyarrow)
  Downloading 
https://files.pythonhosted.org/packages/cb/41/05fbf6944b098eb9d53e8a29a9dbfa20a7448f3254fb71499746a29a1b2d/numpy-1.17.1-cp37-cp37m-win_amd64.whl
 (12.8MB)
     |████████████████████████████████| 12.8MB ...
Collecting six>=1.0.0 (from pyarrow)
  Downloading 
https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Installing collected packages: numpy, six, pyarrow
  WARNING: The script f2py.exe is installed in 
'C:\pyarrow\python-3.7.4-embed-amd64\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
  WARNING: The script plasma_store.exe is installed in 
'C:\pyarrow\python-3.7.4-embed-amd64\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
Successfully installed numpy-1.17.1 pyarrow-0.14.0 six-1.12.0
> python -c "import pyarrow"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"C:\pyarrow\python-3.7.4-embed-amd64\lib\site-packages\pyarrow\__init__.py", 
line 49, in <module>
    from pyarrow.lib import cpu_count, set_cpu_count
ImportError: DLL load failed: The specified module could not be found.
> python -m pip freeze
numpy==1.17.1
pyarrow==0.14.0
six==1.12.0
> dir Lib\site-packages\pyarrow
 Volume in drive C is OS
 Volume Serial Number is 1234-5678

 Directory of C:\pyarrow\python-3.7.4-embed-amd64\Lib\site-packages\pyarrow

08/31/2019  05:42 AM    <DIR>          .
08/31/2019  05:42 AM    <DIR>          ..
08/31/2019  05:42 AM            47,658 array.pxi
08/31/2019  05:42 AM         5,748,736 arrow.dll
08/31/2019  05:42 AM         1,653,120 arrow.lib
08/31/2019  05:42 AM         1,795,072 arrow_flight.dll
08/31/2019  05:42 AM           121,062 arrow_flight.lib
08/31/2019  05:42 AM           910,848 arrow_python.dll
08/31/2019  05:42 AM           119,994 arrow_python.lib
08/31/2019  05:42 AM               869 benchmark.pxi
08/31/2019  05:42 AM               895 benchmark.py
08/31/2019  05:42 AM             2,774 builder.pxi
08/31/2019  05:42 AM            81,920 cares.dll
08/31/2019  05:42 AM             3,691 compat.py
08/31/2019  05:42 AM               911 csv.py
08/31/2019  05:42 AM             1,126 cuda.py
08/31/2019  05:42 AM             3,161 error.pxi
08/31/2019  05:42 AM             4,026 feather.pxi
08/31/2019  05:42 AM             7,291 feather.py
08/31/2019  05:42 AM            12,472 filesystem.py
08/31/2019  05:42 AM             1,286 flight.py
08/31/2019  05:42 AM           186,880 gandiva.cp37-win_amd64.pyd
08/31/2019  05:42 AM           791,664 gandiva.cpp
08/31/2019  05:42 AM        22,094,848 gandiva.dll
08/31/2019  05:42 AM           305,626 gandiva.lib
08/31/2019  05:42 AM            16,553 gandiva.pyx
08/31/2019  05:42 AM             7,032 hdfs.py
08/31/2019  05:42 AM    <DIR>          include
08/31/2019  05:42 AM    <DIR>          includes
08/31/2019  05:42 AM            13,995 io-hdfs.pxi
08/31/2019  05:42 AM            48,879 io.pxi
08/31/2019  05:42 AM            15,981 ipc.pxi
08/31/2019  05:42 AM             6,178 ipc.py
08/31/2019  05:42 AM               897 json.py
08/31/2019  05:42 AM             8,623 jvm.py
08/31/2019  05:42 AM         1,553,408 lib.cp37-win_amd64.pyd
08/31/2019  05:42 AM         6,756,155 lib.cpp
08/31/2019  05:42 AM            10,652 lib.pxd
08/31/2019  05:42 AM             3,570 lib.pyx
08/31/2019  05:42 AM         3,243,008 libcrypto-1_1-x64.dll
08/31/2019  05:42 AM         2,613,248 libprotobuf.dll
08/31/2019  05:42 AM           650,240 libssl-1_1-x64.dll
08/31/2019  05:42 AM            13,435 lib_api.h
08/31/2019  05:42 AM             4,724 memory.pxi
08/31/2019  05:42 AM             4,912 orc.py
08/31/2019  05:42 AM             5,789 pandas-shim.pxi
08/31/2019  05:42 AM            33,456 pandas_compat.py
08/31/2019  05:42 AM         1,789,952 parquet.dll
08/31/2019  05:42 AM           346,864 parquet.lib
08/31/2019  05:42 AM            52,331 parquet.py
08/31/2019  05:42 AM             5,780 plasma.py
08/31/2019  05:42 AM             8,778 public-api.pxi
08/31/2019  05:42 AM            23,060 scalar.pxi
08/31/2019  05:42 AM            15,427 serialization.pxi
08/31/2019  05:42 AM            12,588 serialization.py
08/31/2019  05:42 AM            46,760 table.pxi
08/31/2019  05:42 AM    <DIR>          tensorflow
08/31/2019  05:42 AM    <DIR>          tests
08/31/2019  05:42 AM            48,149 types.pxi
08/31/2019  05:42 AM             6,609 types.py
08/31/2019  05:42 AM             3,549 util.py
08/31/2019  05:42 AM            89,600 zlib.dll
08/31/2019  05:42 AM           106,496 _csv.cp37-win_amd64.pyd
08/31/2019  05:42 AM           493,978 _csv.cpp
08/31/2019  05:42 AM            14,861 _csv.pyx
08/31/2019  05:42 AM             1,934 _cuda.pxd
08/31/2019  05:42 AM            34,567 _cuda.pyx
08/31/2019  05:42 AM           346,112 _flight.cp37-win_amd64.pyd
08/31/2019  05:42 AM         1,518,124 _flight.cpp
08/31/2019  05:42 AM            46,504 _flight.pyx
08/31/2019  05:42 AM               121 _generated_version.py
08/31/2019  05:42 AM            52,736 _json.cp37-win_amd64.pyd
08/31/2019  05:42 AM           311,759 _json.cpp
08/31/2019  05:42 AM             6,413 _json.pyx
08/31/2019  05:42 AM             2,156 _orc.pxd
08/31/2019  05:42 AM             3,670 _orc.pyx
08/31/2019  05:42 AM           281,600 _parquet.cp37-win_amd64.pyd
08/31/2019  05:42 AM         1,352,623 _parquet.cpp
08/31/2019  05:42 AM            17,061 _parquet.pxd
08/31/2019  05:42 AM            44,057 _parquet.pyx
08/31/2019  05:42 AM            27,524 _plasma.pyx
08/31/2019  05:42 AM             1,749 __init__.pxd
08/31/2019  05:42 AM            10,564 __init__.py
08/31/2019  05:42 AM    <DIR>          __pycache__
              77 File(s)     56,030,721 bytes
               7 Dir(s)  22,981,132,288 bytes free

// The following two steps installs Microsoft Visual C++ Redistributable for 
Visual Studio 2015, 2017 and 2019
> bitsadmin /TRANSFER htmlget https://aka.ms/vs/16/release/vc_redist.x64.exe 
> c:\pyarrow\vc_redist.x64.exe
> ..\vc_redist.x64.exe

> python -c "import pyarrow"
> python -c "import pyarrow ; print (pyarrow.cpu_count())"
4
> python -m pip freeze
numpy==1.17.1
pyarrow==0.14.0
six==1.12.0
> dir Lib\site-packages\pyarrow
 Volume in drive C is OS
 Volume Serial Number is 1234-5678

 Directory of C:\pyarrow\python-3.7.4-embed-amd64\Lib\site-packages\pyarrow

08/31/2019  05:42 AM    <DIR>          .
08/31/2019  05:42 AM    <DIR>          ..
08/31/2019  05:42 AM            47,658 array.pxi
08/31/2019  05:42 AM         5,748,736 arrow.dll
08/31/2019  05:42 AM         1,653,120 arrow.lib
08/31/2019  05:42 AM         1,795,072 arrow_flight.dll
08/31/2019  05:42 AM           121,062 arrow_flight.lib
08/31/2019  05:42 AM           910,848 arrow_python.dll
08/31/2019  05:42 AM           119,994 arrow_python.lib
08/31/2019  05:42 AM               869 benchmark.pxi
08/31/2019  05:42 AM               895 benchmark.py
08/31/2019  05:42 AM             2,774 builder.pxi
08/31/2019  05:42 AM            81,920 cares.dll
08/31/2019  05:42 AM             3,691 compat.py
08/31/2019  05:42 AM               911 csv.py
08/31/2019  05:42 AM             1,126 cuda.py
08/31/2019  05:42 AM             3,161 error.pxi
08/31/2019  05:42 AM             4,026 feather.pxi
08/31/2019  05:42 AM             7,291 feather.py
08/31/2019  05:42 AM            12,472 filesystem.py
08/31/2019  05:42 AM             1,286 flight.py
08/31/2019  05:42 AM           186,880 gandiva.cp37-win_amd64.pyd
08/31/2019  05:42 AM           791,664 gandiva.cpp
08/31/2019  05:42 AM        22,094,848 gandiva.dll
08/31/2019  05:42 AM           305,626 gandiva.lib
08/31/2019  05:42 AM            16,553 gandiva.pyx
08/31/2019  05:42 AM             7,032 hdfs.py
08/31/2019  05:42 AM    <DIR>          include
08/31/2019  05:42 AM    <DIR>          includes
08/31/2019  05:42 AM            13,995 io-hdfs.pxi
08/31/2019  05:42 AM            48,879 io.pxi
08/31/2019  05:42 AM            15,981 ipc.pxi
08/31/2019  05:42 AM             6,178 ipc.py
08/31/2019  05:42 AM               897 json.py
08/31/2019  05:42 AM             8,623 jvm.py
08/31/2019  05:42 AM         1,553,408 lib.cp37-win_amd64.pyd
08/31/2019  05:42 AM         6,756,155 lib.cpp
08/31/2019  05:42 AM            10,652 lib.pxd
08/31/2019  05:42 AM             3,570 lib.pyx
08/31/2019  05:42 AM         3,243,008 libcrypto-1_1-x64.dll
08/31/2019  05:42 AM         2,613,248 libprotobuf.dll
08/31/2019  05:42 AM           650,240 libssl-1_1-x64.dll
08/31/2019  05:42 AM            13,435 lib_api.h
08/31/2019  05:42 AM             4,724 memory.pxi
08/31/2019  05:42 AM             4,912 orc.py
08/31/2019  05:42 AM             5,789 pandas-shim.pxi
08/31/2019  05:42 AM            33,456 pandas_compat.py
08/31/2019  05:42 AM         1,789,952 parquet.dll
08/31/2019  05:42 AM           346,864 parquet.lib
08/31/2019  05:42 AM            52,331 parquet.py
08/31/2019  05:42 AM             5,780 plasma.py
08/31/2019  05:42 AM             8,778 public-api.pxi
08/31/2019  05:42 AM            23,060 scalar.pxi
08/31/2019  05:42 AM            15,427 serialization.pxi
08/31/2019  05:42 AM            12,588 serialization.py
08/31/2019  05:42 AM            46,760 table.pxi
08/31/2019  05:42 AM    <DIR>          tensorflow
08/31/2019  05:42 AM    <DIR>          tests
08/31/2019  05:42 AM            48,149 types.pxi
08/31/2019  05:42 AM             6,609 types.py
08/31/2019  05:42 AM             3,549 util.py
08/31/2019  05:42 AM            89,600 zlib.dll
08/31/2019  05:42 AM           106,496 _csv.cp37-win_amd64.pyd
08/31/2019  05:42 AM           493,978 _csv.cpp
08/31/2019  05:42 AM            14,861 _csv.pyx
08/31/2019  05:42 AM             1,934 _cuda.pxd
08/31/2019  05:42 AM            34,567 _cuda.pyx
08/31/2019  05:42 AM           346,112 _flight.cp37-win_amd64.pyd
08/31/2019  05:42 AM         1,518,124 _flight.cpp
08/31/2019  05:42 AM            46,504 _flight.pyx
08/31/2019  05:42 AM               121 _generated_version.py
08/31/2019  05:42 AM            52,736 _json.cp37-win_amd64.pyd
08/31/2019  05:42 AM           311,759 _json.cpp
08/31/2019  05:42 AM             6,413 _json.pyx
08/31/2019  05:42 AM             2,156 _orc.pxd
08/31/2019  05:42 AM             3,670 _orc.pyx
08/31/2019  05:42 AM           281,600 _parquet.cp37-win_amd64.pyd
08/31/2019  05:42 AM         1,352,623 _parquet.cpp
08/31/2019  05:42 AM            17,061 _parquet.pxd
08/31/2019  05:42 AM            44,057 _parquet.pyx
08/31/2019  05:42 AM            27,524 _plasma.pyx
08/31/2019  05:42 AM             1,749 __init__.pxd
08/31/2019  05:42 AM            10,564 __init__.py
08/31/2019  05:42 AM    <DIR>          __pycache__
              77 File(s)     56,030,721 bytes
               7 Dir(s)  22,936,629,248 bytes free
>
{{code}}


> [Python] pyarrow wheel:  `DLL load failed` when importing on windows
> --------------------------------------------------------------------
>
>                 Key: ARROW-6015
>                 URL: https://issues.apache.org/jira/browse/ARROW-6015
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Packaging, Python
>    Affects Versions: 0.14.1
>            Reporter: Ruslan Kuprieiev
>            Priority: Major
>              Labels: wheel
>             Fix For: 0.15.0
>
>
> When installing pyarrow 0.14.1 on windows 10 x64 with python 3.7, you get:
> >>> import pyarrow
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Python37\lib\site-packages\pyarrow\__init__.py", line 49, in 
> <module>
>     from pyarrow.lib import cpu_count, set_cpu_count
>   ImportError: DLL load failed: The specified module could not be found.
>  On 0.14.0 everything works fine.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to