You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Pac A. He (Jira)" <ji...@apache.org> on 2020/10/05 15:50:00 UTC

[jira] [Updated] (ARROW-10152) "ImportError: liborc.so" with miniconda pyarrow=1.0.1 when "import pyarrow"

     [ https://issues.apache.org/jira/browse/ARROW-10152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pac A. He updated ARROW-10152:
------------------------------
    Description: 
I cannot run "{{import pyarrow}}" with {{pyarrow=1.0.1}} in dockerized miniconda. It works fine with {{pyarrow=1.0.0}} though. The error is:
{quote}File "<string>", line 1, in <module>
 File "/opt/conda/envs/condaenv/lib/python3.8/site-packages/pyarrow/__init__.py", line 62, in <module>
 import pyarrow.lib as _lib
 ImportError: liborc.so: cannot open shared object file: No such file or directory
{quote}
----
To reproduce, use:

Dockerfile:
{code:java}
FROM continuumio/miniconda3:latest
COPY environment.yml .
RUN conda install -n base -c defaults conda=4.*
RUN conda env create -n condaenv  # Installs environment.yml
RUN conda list -n condaenv  # Just for comparison
ENV PATH /opt/conda/envs/condaenv/bin:$PATH
RUN python -c "import pyarrow"
{code}
environment.yml:
{code:java}
name: condaenv
channels:
  - defaults
  - conda-forge
  - conda-forge/label/rc
dependencies:
  - pyarrow==1.0.1{code}

  was:
I cannot run "{{import pyarrow}}" with {{pyarrow=1.0.1}} in dockerized miniconda. It works fine with {{pyarrow=1.0.0}} though. The error is:

{quote}
  File "<string>", line 1, in <module>
  File "/opt/conda/envs/condaenv/lib/python3.8/site-packages/pyarrow/__init__.py", line 62, in <module>
    import pyarrow.lib as _lib
ImportError: liborc.so: cannot open shared object file: No such file or directory
{quote}

----

To reproduce, use:

Dockerfile:
{code}
FROM continuumio/miniconda3:latest
COPY environment.yml .
RUN conda install -n base -c defaults conda=4.* && \
    conda env create -n condaenv  # Installs environment.yml
ENV PATH /opt/conda/envs/condaenv/bin:$PATH
RUN python -c "import pyarrow"
{code}

environment.yml:
{code}
name: condaenv
channels:
  - defaults
  - conda-forge
  - conda-forge/label/rc
dependencies:
  - pyarrow==1.0.1
{code}



> "ImportError: liborc.so" with miniconda pyarrow=1.0.1 when "import pyarrow"
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-10152
>                 URL: https://issues.apache.org/jira/browse/ARROW-10152
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 1.0.1
>            Reporter: Pac A. He
>            Priority: Blocker
>
> I cannot run "{{import pyarrow}}" with {{pyarrow=1.0.1}} in dockerized miniconda. It works fine with {{pyarrow=1.0.0}} though. The error is:
> {quote}File "<string>", line 1, in <module>
>  File "/opt/conda/envs/condaenv/lib/python3.8/site-packages/pyarrow/__init__.py", line 62, in <module>
>  import pyarrow.lib as _lib
>  ImportError: liborc.so: cannot open shared object file: No such file or directory
> {quote}
> ----
> To reproduce, use:
> Dockerfile:
> {code:java}
> FROM continuumio/miniconda3:latest
> COPY environment.yml .
> RUN conda install -n base -c defaults conda=4.*
> RUN conda env create -n condaenv  # Installs environment.yml
> RUN conda list -n condaenv  # Just for comparison
> ENV PATH /opt/conda/envs/condaenv/bin:$PATH
> RUN python -c "import pyarrow"
> {code}
> environment.yml:
> {code:java}
> name: condaenv
> channels:
>   - defaults
>   - conda-forge
>   - conda-forge/label/rc
> dependencies:
>   - pyarrow==1.0.1{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)