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

Pac A. He edited comment on ARROW-10152 at 10/5/20, 4:03 PM:
-------------------------------------------------------------

There is nothing wrong with `environment.yml`. The issue was fixed on Friday by 
someone by a new release of pyarrow at 
[https://anaconda.org/conda-forge/pyarrow/files] . It now works.

The default `anaconda` channel is on v0.15.1, so there is no conflict.


was (Author: apacman):
There is nothing wrong with `environment.yml`. The issue was fixed on Friday by 
someone by a new release of pyarrow at 
[https://anaconda.org/conda-forge/pyarrow/files] . It now works.

> "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
>            Assignee: Uwe Korn
>            Priority: Minor
>
> 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)

Reply via email to