Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install apache arror on windows 10 #21015

Closed
asfimport opened this issue Feb 2, 2019 · 4 comments
Closed

can't install apache arror on windows 10 #21015

asfimport opened this issue Feb 2, 2019 · 4 comments

Comments

@asfimport
Copy link

I receive this error message when importing pyarrow:
Traceback (most recent call last):
File "", line 1, in
File "D:\Python\Miniconda3\lib\site-packages\pyarrow_init_.py", line 54, in
from pyarrow.lib import cpu_count, set_cpu_count
ImportError: DLL load failed: The specified module could not be found.

I am using this:

Python 3.7.1 | packaged by conda-forge | (default, Nov 13 2018, 19:01:41) [MSC v.1900 64 bit (AMD64)] :: Anaconda, Inc. on win32

I saw that someone else had the same problem here:

conda-forge/pyarrow-feedstock#54

but the solution didn't help in my case.

List of packages installed:

(base) C:\Users\marcc>conda list

  1. packages in environment at D:\Python\Miniconda3:

  1. Name Version Build Channel
    absl-py 0.6.1 pypi_0 pypi
    alabaster 0.7.12 py_0 conda-forge
    arctic 1.74.0 pypi_0 pypi
    arrow-cpp 0.12.0 py37_vc14h51c8329_0 conda-forge
    asn1crypto 0.24.0 py37_1003 conda-forge
    astor 0.7.1 pypi_0 pypi
    astroid 2.1.0 py37_1000 conda-forge
    asyncio 3.4.3 pypi_0 pypi
    attrs 18.2.0 py_0 conda-forge
    babel 2.6.0 py_1 conda-forge
    backcall 0.1.0 py_0 conda-forge
    backtrader 1.9.69.122 pypi_0 pypi
    blas 1.0 mkl
    bleach 3.0.2 pypi_0 pypi
    boost-cpp 1.68.0 h6a4c333_1000 conda-forge
    ca-certificates 2018.11.29 ha4d7672_0 conda-forge
    certifi 2018.11.29 py37_1000 conda-forge
    cffi 1.11.5 py37hfa6e2cd_1001 conda-forge
    chardet 3.0.4 py37_1003 conda-forge
    cloudpickle 0.6.1 py_0 conda-forge
    colorama 0.4.0 py_0 conda-forge
    conda 4.6.2 py37_0 conda-forge
    conda-env 2.6.0 1
    console_shortcut 0.1.1 3
    cryptography 2.5 py37h74b6da3_0 conda-forge
    cycler 0.10.0 py_1 conda-forge
    cython 0.29.3 py37h6538335_0 conda-forge
    decorator 4.3.0 py_0 conda-forge
    docutils 0.14 py37_1001 conda-forge
    entrypoints 0.3 py37_1000 conda-forge
    enum-compat 0.0.2 pypi_0 pypi
    freetype 2.9.1 he8b6a0d_1004 conda-forge
    future 0.17.1 py37_1000 conda-forge
    gast 0.2.1.post0 pypi_0 pypi
    gflags 2.2.2 he025d50_1000 conda-forge
    glog 0.3.5 h6538335_1
    grpcio 1.17.1 pypi_0 pypi
    h5py 2.9.0 pypi_0 pypi
    icc_rt 2017.0.4 h97af966_0
    icu 58.2 ha66f8fd_1
    idna 2.8 py37_1000 conda-forge
    imagesize 1.1.0 py_0 conda-forge
    inflection 0.3.1 py37_1
    intel-openmp 2019.0 118
    ipykernel 5.1.0 py37h39e3cac_1002 conda-forge
    ipython 7.2.0 py37h39e3cac_1000 conda-forge
    ipython_genutils 0.2.0 py_1 conda-forge
    ipywidgets 7.4.2 py_0 conda-forge
    isort 4.3.4 py37_1000 conda-forge
    jedi 0.13.2 py37_1000 conda-forge
    jinja2 2.10 py_1 conda-forge
    jpeg 9c hfa6e2cd_1001 conda-forge
    jsonschema 3.0.0a3 py37_1000 conda-forge
    jupyter 1.0.0 py_1 conda-forge
    jupyter_client 5.2.3 py_1 conda-forge
    jupyter_console 6.0.0 py_0 conda-forge
    jupyter_core 4.4.0 py_0 conda-forge
    keras-applications 1.0.6 pypi_0 pypi
    keras-preprocessing 1.0.5 pypi_0 pypi
    keyring 17.1.1 py37_1000 conda-forge
    kiwisolver 1.0.1 py37he980bc4_1002 conda-forge
    lazy-object-proxy 1.3.1 py37hfa6e2cd_1000 conda-forge
    libboost 1.67.0 hd9e427e_4
    libflang 5.0.0 h6538335_20180525 conda-forge
    libpng 1.6.36 h7602738_1000 conda-forge
    libprotobuf 3.6.1 h1a1b453_1000 conda-forge
    libsodium 1.0.16 h2fa13f4_1001 conda-forge
    llvm-meta 5.0.0 0 conda-forge
    lz4 2.1.6 pypi_0 pypi
    lz4-c 1.8.3 he025d50_1001 conda-forge
    m2w64-gcc-libgfortran 5.3.0 6
    m2w64-gcc-libs 5.3.0 7
    m2w64-gcc-libs-core 5.3.0 7
    m2w64-gmp 6.1.0 2
    m2w64-libwinpthread-git 5.0.0.4634.697f757 2
    markdown 3.0.1 pypi_0 pypi
    markupsafe 1.1.0 py37hfa6e2cd_1000 conda-forge
    matplotlib 3.0.2 py37_1002 conda-forge
    matplotlib-base 3.0.2 py37h3e3dc42_1002 conda-forge
    mccabe 0.6.1 py_1 conda-forge
    menuinst 1.4.14 py37_1000 conda-forge
    mistune 0.8.4 py37hfa6e2cd_1000 conda-forge
    mkl 2018.0.3 1
    mkl_fft 1.0.6 py37hdbbee80_0
    mkl_random 1.0.1 py37h77b88f5_1
    mockextras 1.0.2 pypi_0 pypi
    more-itertools 4.3.0 py37_1000 conda-forge
    msys2-conda-epoch 20160418 1
    nbconvert 5.3.1 py_1 conda-forge
    nbformat 4.4.0 py_1 conda-forge
    notebook 5.7.4 py37_1000 conda-forge
    numpy 1.15.4 py37ha559c80_0
    numpy-base 1.15.4 py37h8128ebf_0
    numpydoc 0.8.0 py_1 conda-forge
    openblas 0.3.5 h535eed3_1000 conda-forge
    openmp 5.0.0 vc14_1 [vc14] conda-forge
    openssl 1.0.2p hfa6e2cd_1002 conda-forge
    packaging 18.0 py_0 conda-forge
    pandas 0.24.0 py37h6538335_0 conda-forge
    pandoc 2.2.3.2 0
    pandocfilters 1.4.2 py_1 conda-forge
    parquet-cpp 1.5.1 4 conda-forge
    parso 0.3.1 py_0 conda-forge
    patsy 0.5.1 py_0 conda-forge
    pickleshare 0.7.5 py37_1000 conda-forge
    pip 19.0.1 py37_0 conda-forge
    prometheus_client 0.4.2 py_0 conda-forge
    prompt_toolkit 2.0.7 py_0 conda-forge
    protobuf 3.6.1 pypi_0 pypi
    psutil 5.4.8 py37hfa6e2cd_1000 conda-forge
    pyarrow 0.12.0 pypi_0 pypi
    pybind11 2.2.4 pypi_0 pypi
    pycodestyle 2.4.0 py_1 conda-forge
    pycosat 0.6.3 py37hfa6e2cd_1001 conda-forge
    pycparser 2.19 py_0 conda-forge
    pyflakes 2.0.0 py_0 conda-forge
    pygments 2.2.0 py_1 conda-forge
    pylint 2.2.2 py37_1000 conda-forge
    pymongo 3.7.2 pypi_0 pypi
    pyopenssl 18.0.0 py37_1000 conda-forge
    pyparsing 2.3.0 py_0 conda-forge
    pyqstrat 0.2.13 pypi_0 pypi
    pyqt 5.9.2 py37h6538335_2
    pyrsistent 0.14.9 py37hfa6e2cd_1000 conda-forge
    pysocks 1.6.8 py37_1002 conda-forge
    python 3.7.1 hc182675_1000 conda-forge
    python-dateutil 2.7.5 py_0 conda-forge
    pytz 2018.7 py_0 conda-forge
    pywin32 224 py37hfa6e2cd_1000 conda-forge
    pywin32-ctypes 0.2.0 py37_1000 conda-forge
    pywinpty 0.5.5 py37_1000 conda-forge
    pyzmq 17.1.2 py37hf576995_1001 conda-forge
    qgrid 1.1.1 pypi_0 pypi
    qt 5.9.6 vc14h1e9a669_2
    qtawesome 0.5.3 pyh8a2030e_0 conda-forge
    qtconsole 4.4.2 py_1 conda-forge
    qtpy 1.5.2 pyh8a2030e_0 conda-forge
    quandl 3.4.0 py37_1000 conda-forge
    requests 2.21.0 py37_1000 conda-forge
    rope 0.10.7 py_1 conda-forge
    ruamel_yaml 0.15.71 py37hfa6e2cd_1000 conda-forge
    scipy 1.1.0 py37h4f6bf74_1
    seaborn 0.9.0 py_0 conda-forge
    send2trash 1.5.0 py_0 conda-forge
    setuptools 40.7.2 pypi_0 pypi
    sip 4.19.8 py37h6538335_1000 conda-forge
    six 1.11.0 pypi_0 pypi
    snappy 1.1.7 h6538335_1002 conda-forge
    snowballstemmer 1.2.1 py_1 conda-forge
    sphinx 1.8.3 py37_1000 conda-forge
    sphinxcontrib-websupport 1.1.0 py_1 conda-forge
    spyder 3.3.2 py37_0
    spyder-kernels 0.3.0 py37_1001 conda-forge
    sqlite 3.26.0 hfa6e2cd_1000 conda-forge
    statsmodels 0.9.0 py37hfa6e2cd_1000 conda-forge
    teafiles 0.7.4 pypi_0 pypi
    tensorboard 1.12.2 pypi_0 pypi
    tensorflow 1.12.0 pypi_0 pypi
    termcolor 1.1.0 pypi_0 pypi
    terminado 0.8.1 py37_1001 conda-forge
    testpath 0.4.2 py37_1000 conda-forge
    thrift-cpp 0.12.0 h07bee8b_1000 conda-forge
    tornado 5.1.1 py37hfa6e2cd_1000 conda-forge
    traitlets 4.3.2 py37_1000 conda-forge
    typed-ast 1.3.0 py37hfa6e2cd_0 conda-forge
    tzlocal 1.5.1 pypi_0 pypi
    urllib3 1.24.1 py37_1000 conda-forge
    vc 14.1 h0510ff6_4
    vs2015_runtime 14.15.26706 h3a45250_0
    wcwidth 0.1.7 py_1 conda-forge
    webencodings 0.5.1 pypi_0 pypi
    werkzeug 0.14.1 pypi_0 pypi
    wheel 0.32.3 py37_0 conda-forge
    widgetsnbextension 3.4.2 py37_1000 conda-forge
    win_inet_pton 1.0.1 py37_1002 conda-forge
    wincertstore 0.2 py37_1002 conda-forge
    winpty 0.4.3 4
    wrapt 1.11.1 py37hfa6e2cd_0 conda-forge
    xz 5.2.4 h2fa13f4_1001 conda-forge
    yaml 0.1.7 vc14_0 [vc14] conda-forge
    zeromq 4.2.5 he025d50_1006 conda-forge
    zlib 1.2.11 vc14_0 [vc14] conda-forge
    zstd 1.3.3 vc14_1 conda-forge

     

    I am adding some images with the visual studio / c++ installation set up

Environment: windows 10, visual studio 2017
Reporter: Marc Cohen

Original Issue Attachments:

Note: This issue was originally created as ARROW-4458. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Uwe Korn / @xhochy:
[~marcco411] You have two issues:

  • pyarrow was installed via pip (it's listed as pypi)
  • libboost is incompatible with packages from conda-forge.
  • You can fix this by running
    • conda uninstall libboost pyarrow
    • conda install -c conda-forge pyarrow

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Please reopen if you find an new environment incantation for installing everything from conda-forge where things don't work properly

@asfimport
Copy link
Author

Marc Cohen:
I can't do it since whatever I try I get: RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.

I guess I ll try reinstalling a new environment

Thanks for the guidance

@asfimport
Copy link
Author

Marc Cohen:
fyi, I think my anaconda install became corrupted. I uninstalled it and reinstalled it. then used

  • conda install -c conda-forge pyarrow   and it works well. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant