[
https://issues.apache.org/jira/browse/ARROW-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920231#comment-16920231
]
Kazuaki Ishizaki edited comment on ARROW-6015 at 8/31/19 11:33 PM:
-------------------------------------------------------------------
As far as I know, the CRT is not distributed with Python 3.7 on Windows.
{code}
> cd \python-3.7.4-embed-amd64
> \cygwin64\bin\find . -name "msv*"
./Lib/site-packages/numpy/distutils/msvc9compiler.py
./Lib/site-packages/numpy/distutils/msvccompiler.py
./Lib/site-packages/numpy/distutils/__pycache__/msvc9compiler.cpython-37.pyc
./Lib/site-packages/numpy/distutils/__pycache__/msvccompiler.cpython-37.pyc
./Lib/site-packages/setuptools/msvc.py
./Lib/site-packages/setuptools/__pycache__/msvc.cpython-37.pyc
> cd \ProgramData\Miniconda3
>\cygwin64\bin\find . -name "msv*"
./Lib/distutils/msvc9compiler.py
./Lib/distutils/msvccompiler.py
./Lib/distutils/__pycache__/msvc9compiler.cpython-37.pyc
./Lib/distutils/__pycache__/msvccompiler.cpython-37.pyc
./Lib/site-packages/setuptools/msvc.py
./Lib/site-packages/setuptools/__pycache__/msvc.cpython-37.pyc
./Library/bin/msvcp140.dll
./Library/bin/msvcp140_1.dll
./Library/bin/msvcp140_2.dll
./msvcp140.dll
./msvcp140_1.dll
./msvcp140_2.dll
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/msvc9compiler.py
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/msvccompiler.py
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/__pycache__/msvc9compiler.cpython-37.pyc
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/__pycache__/msvccompiler.cpython-37.pyc
./pkgs/setuptools-41.0.1-py37_0/Lib/site-packages/setuptools/msvc.py
./pkgs/setuptools-41.0.1-py37_0/Lib/site-packages/setuptools/__pycache__/msvc.cpython-37.pyc
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/Library/bin/msvcp140.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/Library/bin/msvcp140_1.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/Library/bin/msvcp140_2.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/msvcp140.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/msvcp140_1.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/msvcp140_2.dll
{code}
In addition to that, I remember that conda automatically installs
{{vs2015_runtime}} package, too.
{code}
> conda install pyarrow -c conda-forge
...
The following NEW packages will be INSTALLED:
arrow-cpp conda-forge/win-64::arrow-cpp-0.14.1-py37h1b0c03e_0
boost-cpp conda-forge/win-64::boost-cpp-1.70.0-h6a4c333_2
brotli conda-forge/win-64::brotli-1.0.7-he025d50_1000
c-ares conda-forge/win-64::c-ares-1.15.0-h2fa13f4_1001
ca-certificates conda-forge/win-64::ca-certificates-2019.6.16-hecc5488_0
certifi conda-forge/win-64::certifi-2019.6.16-py37_1
double-conversion conda-forge/win-64::double-conversion-3.1.5-h6538335_1
gflags conda-forge/win-64::gflags-2.2.2-he025d50_1001
glog conda-forge/win-64::glog-0.4.0-he025d50_1
grpc-cpp conda-forge/win-64::grpc-cpp-1.23.0-h4d7d3fa_0
intel-openmp pkgs/main/win-64::intel-openmp-2019.4-245
libblas conda-forge/win-64::libblas-3.8.0-12_mkl
libcblas conda-forge/win-64::libcblas-3.8.0-12_mkl
liblapack conda-forge/win-64::liblapack-3.8.0-12_mkl
libprotobuf conda-forge/win-64::libprotobuf-3.8.0-h1a1b453_0
lz4-c conda-forge/win-64::lz4-c-1.8.3-he025d50_1001
mkl pkgs/main/win-64::mkl-2019.4-245
numpy conda-forge/win-64::numpy-1.17.1-py37hc71023c_0
openssl conda-forge/win-64::openssl-1.1.1c-hfa6e2cd_0
pandas conda-forge/win-64::pandas-0.25.1-py37he350917_0
parquet-cpp conda-forge/noarch::parquet-cpp-1.5.1-2
pip conda-forge/win-64::pip-19.2.3-py37_0
pyarrow conda-forge/win-64::pyarrow-0.14.1-py37h803c963_0
python conda-forge/win-64::python-3.7.3-h510b542_1
python-dateutil conda-forge/noarch::python-dateutil-2.8.0-py_0
pytz conda-forge/noarch::pytz-2019.2-py_0
re2 conda-forge/win-64::re2-2019.08.01-vc14h6538335_0
setuptools conda-forge/win-64::setuptools-41.2.0-py37_0
six conda-forge/win-64::six-1.12.0-py37_1000
snappy conda-forge/win-64::snappy-1.1.7-h6538335_1002
sqlite conda-forge/win-64::sqlite-3.29.0-hfa6e2cd_1
thrift-cpp conda-forge/win-64::thrift-cpp-0.12.0-hd042d19_1004
uriparser conda-forge/win-64::uriparser-0.9.3-he025d50_1
vc pkgs/main/win-64::vc-14.1-h0510ff6_4
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.15.26706-h3a45250_4
wheel conda-forge/win-64::wheel-0.33.6-py37_0
wincertstore conda-forge/win-64::wincertstore-0.2-py37_1002
xz conda-forge/win-64::xz-5.2.4-h2fa13f4_1001
zlib conda-forge/win-64::zlib-1.2.11-h2fa13f4_1005
zstd conda-forge/win-64::zstd-1.4.0-hd8a0e53_0
...
{code}
was (Author: kiszk):
As far as I know, the CRT is not distributed with Python 3.7 on Windows.
{code}
cd \python-3.7.4-embed-amd64
> \cygwin64\bin\find . -name "msv*"
./Lib/site-packages/numpy/distutils/msvc9compiler.py
./Lib/site-packages/numpy/distutils/msvccompiler.py
./Lib/site-packages/numpy/distutils/__pycache__/msvc9compiler.cpython-37.pyc
./Lib/site-packages/numpy/distutils/__pycache__/msvccompiler.cpython-37.pyc
./Lib/site-packages/setuptools/msvc.py
./Lib/site-packages/setuptools/__pycache__/msvc.cpython-37.pyc
>pushd \ProgramData\Miniconda3
>\cygwin64\bin\find . -name "msv*"
./Lib/distutils/msvc9compiler.py
./Lib/distutils/msvccompiler.py
./Lib/distutils/__pycache__/msvc9compiler.cpython-37.pyc
./Lib/distutils/__pycache__/msvccompiler.cpython-37.pyc
./Lib/site-packages/setuptools/msvc.py
./Lib/site-packages/setuptools/__pycache__/msvc.cpython-37.pyc
./Library/bin/msvcp140.dll
./Library/bin/msvcp140_1.dll
./Library/bin/msvcp140_2.dll
./msvcp140.dll
./msvcp140_1.dll
./msvcp140_2.dll
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/msvc9compiler.py
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/msvccompiler.py
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/__pycache__/msvc9compiler.cpython-37.pyc
./pkgs/python-3.7.3-h8c8aaf0_1/Lib/distutils/__pycache__/msvccompiler.cpython-37.pyc
./pkgs/setuptools-41.0.1-py37_0/Lib/site-packages/setuptools/msvc.py
./pkgs/setuptools-41.0.1-py37_0/Lib/site-packages/setuptools/__pycache__/msvc.cpython-37.pyc
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/Library/bin/msvcp140.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/Library/bin/msvcp140_1.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/Library/bin/msvcp140_2.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/msvcp140.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/msvcp140_1.dll
./pkgs/vs2015_runtime-14.15.26706-h3a45250_4/msvcp140_2.dll
{code}
In addition to that, I remember that conda automatically installs
{{vs2015_runtime}} package, too.
{code}
> conda install pyarrow -c conda-forge
...
The following NEW packages will be INSTALLED:
arrow-cpp conda-forge/win-64::arrow-cpp-0.14.1-py37h1b0c03e_0
boost-cpp conda-forge/win-64::boost-cpp-1.70.0-h6a4c333_2
brotli conda-forge/win-64::brotli-1.0.7-he025d50_1000
c-ares conda-forge/win-64::c-ares-1.15.0-h2fa13f4_1001
ca-certificates conda-forge/win-64::ca-certificates-2019.6.16-hecc5488_0
certifi conda-forge/win-64::certifi-2019.6.16-py37_1
double-conversion conda-forge/win-64::double-conversion-3.1.5-h6538335_1
gflags conda-forge/win-64::gflags-2.2.2-he025d50_1001
glog conda-forge/win-64::glog-0.4.0-he025d50_1
grpc-cpp conda-forge/win-64::grpc-cpp-1.23.0-h4d7d3fa_0
intel-openmp pkgs/main/win-64::intel-openmp-2019.4-245
libblas conda-forge/win-64::libblas-3.8.0-12_mkl
libcblas conda-forge/win-64::libcblas-3.8.0-12_mkl
liblapack conda-forge/win-64::liblapack-3.8.0-12_mkl
libprotobuf conda-forge/win-64::libprotobuf-3.8.0-h1a1b453_0
lz4-c conda-forge/win-64::lz4-c-1.8.3-he025d50_1001
mkl pkgs/main/win-64::mkl-2019.4-245
numpy conda-forge/win-64::numpy-1.17.1-py37hc71023c_0
openssl conda-forge/win-64::openssl-1.1.1c-hfa6e2cd_0
pandas conda-forge/win-64::pandas-0.25.1-py37he350917_0
parquet-cpp conda-forge/noarch::parquet-cpp-1.5.1-2
pip conda-forge/win-64::pip-19.2.3-py37_0
pyarrow conda-forge/win-64::pyarrow-0.14.1-py37h803c963_0
python conda-forge/win-64::python-3.7.3-h510b542_1
python-dateutil conda-forge/noarch::python-dateutil-2.8.0-py_0
pytz conda-forge/noarch::pytz-2019.2-py_0
re2 conda-forge/win-64::re2-2019.08.01-vc14h6538335_0
setuptools conda-forge/win-64::setuptools-41.2.0-py37_0
six conda-forge/win-64::six-1.12.0-py37_1000
snappy conda-forge/win-64::snappy-1.1.7-h6538335_1002
sqlite conda-forge/win-64::sqlite-3.29.0-hfa6e2cd_1
thrift-cpp conda-forge/win-64::thrift-cpp-0.12.0-hd042d19_1004
uriparser conda-forge/win-64::uriparser-0.9.3-he025d50_1
vc pkgs/main/win-64::vc-14.1-h0510ff6_4
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.15.26706-h3a45250_4
wheel conda-forge/win-64::wheel-0.33.6-py37_0
wincertstore conda-forge/win-64::wincertstore-0.2-py37_1002
xz conda-forge/win-64::xz-5.2.4-h2fa13f4_1001
zlib conda-forge/win-64::zlib-1.2.11-h2fa13f4_1005
zstd conda-forge/win-64::zstd-1.4.0-hd8a0e53_0
...
{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)