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/01 21:27:00 UTC
[jira] [Created] (ARROW-10152) "ImportError: liborc.so" with
miniconda pyarrow=1.0.1 when "import pyarrow"
Pac A. He created ARROW-10152:
---------------------------------
Summary: "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
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}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)