Title: Import error installing with ppc64le
State: closed
Labels: description: Something isn't working
name: bug

## Describe the bug
Installing the datasets library with a computer running with ppc64le seems to cause an issue when importing the datasets library.


```
python
Python 3.6.13 | packaged by conda-forge | (default, Sep 23 2021, 07:37:44) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import datasets
Illegal instruction (core dumped)
```

Error when importing
`Illegal instruction (core dumped)`

## Steps to reproduce the bug
I get this error when installing the library by using conda.  I can't install with pip I believe because pyarrow only has the ppc64le library on conda forge
```
conda create --name transformers_py36_v2 python=3.6 
conda activate transformers_py36_v2 
conda install datasets 
```

## Tracebacks
conda create --name transformers_py36_v2 python=3.6


```
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.9.2
  latest version: 4.10.3

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /p/home/gerryc/.conda/envs/transformers_py36_v2

  added / updated specs:
    - python=3.6


The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-ppc64le::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-ppc64le::_openmp_mutex-4.5-1_gnu
  ca-certificates    conda-forge/linux-ppc64le::ca-certificates-2021.10.8-h1084571_0
  certifi            pkgs/main/linux-ppc64le::certifi-2020.12.5-py36h6ffa863_0
  ld_impl_linux-ppc~ conda-forge/linux-ppc64le::ld_impl_linux-ppc64le-2.36.1-ha35d02b_2
  libffi             conda-forge/linux-ppc64le::libffi-3.4.2-h3b9df90_4
  libgcc-ng          conda-forge/linux-ppc64le::libgcc-ng-11.2.0-h7698a5e_11
  libgomp            conda-forge/linux-ppc64le::libgomp-11.2.0-h7698a5e_11
  libstdcxx-ng       conda-forge/linux-ppc64le::libstdcxx-ng-11.2.0-habdf983_11
  libzlib            conda-forge/linux-ppc64le::libzlib-1.2.11-h339bb43_1013
  ncurses            conda-forge/linux-ppc64le::ncurses-6.2-hea85c5d_4
  openssl            conda-forge/linux-ppc64le::openssl-1.1.1l-h4e0d66e_0
  pip                conda-forge/noarch::pip-21.3-pyhd8ed1ab_0
  python             conda-forge/linux-ppc64le::python-3.6.13-h57873ef_2_cpython
  readline           conda-forge/linux-ppc64le::readline-8.1-h5c45dff_0
  setuptools         pkgs/main/linux-ppc64le::setuptools-58.0.4-py36h6ffa863_0
  sqlite             conda-forge/linux-ppc64le::sqlite-3.36.0-h4e2196e_2
  tk                 conda-forge/linux-ppc64le::tk-8.6.11-h41c6715_1
  wheel              conda-forge/noarch::wheel-0.37.0-pyhd8ed1ab_1
  xz                 conda-forge/linux-ppc64le::xz-5.2.5-h6eb9509_1
  zlib               conda-forge/linux-ppc64le::zlib-1.2.11-h339bb43_1013


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate transformers_py36_v2
#
# To deactivate an active environment, use
#
#     $ conda deactivate
```


conda activate transformers_py36_v2
conda install datasets
```
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.9.2
  latest version: 4.10.3

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /p/home/gerryc/.conda/envs/transformers_py36_v2

  added / updated specs:
    - datasets


The following NEW packages will be INSTALLED:

  abseil-cpp         conda-forge/linux-ppc64le::abseil-cpp-20210324.2-h3b9df90_0
  aiohttp            conda-forge/linux-ppc64le::aiohttp-3.7.4.post0-py36hc33305d_0
  arrow-cpp          conda-forge/linux-ppc64le::arrow-cpp-5.0.0-py36hf9cf308_8_cpu
  async-timeout      conda-forge/noarch::async-timeout-3.0.1-py_1000
  attrs              conda-forge/noarch::attrs-21.2.0-pyhd8ed1ab_0
  aws-c-cal          conda-forge/linux-ppc64le::aws-c-cal-0.5.11-hb3fac3d_0
  aws-c-common       conda-forge/linux-ppc64le::aws-c-common-0.6.2-h4e0d66e_0
  aws-c-event-stream conda-forge/linux-ppc64le::aws-c-event-stream-0.2.7-h76da5f2_13
  aws-c-io           conda-forge/linux-ppc64le::aws-c-io-0.10.5-hf6a6c7c_0
  aws-checksums      conda-forge/linux-ppc64le::aws-checksums-0.1.11-hfe76d68_7
  aws-sdk-cpp        conda-forge/linux-ppc64le::aws-sdk-cpp-1.8.186-h90855e8_3
  brotlipy           conda-forge/linux-ppc64le::brotlipy-0.7.0-py36hc33305d_1001
  bzip2              conda-forge/linux-ppc64le::bzip2-1.0.8-h4e0d66e_4
  c-ares             conda-forge/linux-ppc64le::c-ares-1.17.2-h4e0d66e_0
  cffi               conda-forge/linux-ppc64le::cffi-1.14.6-py36h021ab3c_1
  chardet            conda-forge/linux-ppc64le::chardet-4.0.0-py36h270354c_1
  colorama           conda-forge/noarch::colorama-0.4.4-pyh9f0ad1d_0
  cryptography       conda-forge/linux-ppc64le::cryptography-3.4.7-py36hc71b123_0
  dataclasses        conda-forge/noarch::dataclasses-0.8-pyh787bdff_2
  datasets           conda-forge/noarch::datasets-1.12.1-pyhd8ed1ab_1
  dill               conda-forge/noarch::dill-0.3.4-pyhd8ed1ab_0
  filelock           conda-forge/noarch::filelock-3.3.0-pyhd8ed1ab_0
  fsspec             conda-forge/noarch::fsspec-2021.10.0-pyhd8ed1ab_0
  gflags             conda-forge/linux-ppc64le::gflags-2.2.2-hb209c28_1004
  glog               conda-forge/linux-ppc64le::glog-0.5.0-h4040248_0
  grpc-cpp           conda-forge/linux-ppc64le::grpc-cpp-1.40.0-h2bf711c_2
  huggingface_hub    conda-forge/noarch::huggingface_hub-0.0.19-pyhd8ed1ab_0
  idna               conda-forge/noarch::idna-2.10-pyh9f0ad1d_0
  idna_ssl           conda-forge/noarch::idna_ssl-1.0.0-0
  importlib-metadata conda-forge/linux-ppc64le::importlib-metadata-4.8.1-py36h270354c_0
  importlib_metadata conda-forge/noarch::importlib_metadata-4.8.1-hd8ed1ab_0
  krb5               conda-forge/linux-ppc64le::krb5-1.19.2-haf43566_2
  libblas            conda-forge/linux-ppc64le::libblas-3.9.0-11_linuxppc64le_openblas
  libbrotlicommon    conda-forge/linux-ppc64le::libbrotlicommon-1.0.9-h4e0d66e_5
  libbrotlidec       conda-forge/linux-ppc64le::libbrotlidec-1.0.9-h4e0d66e_5
  libbrotlienc       conda-forge/linux-ppc64le::libbrotlienc-1.0.9-h4e0d66e_5
  libcblas           conda-forge/linux-ppc64le::libcblas-3.9.0-11_linuxppc64le_openblas
  libcurl            conda-forge/linux-ppc64le::libcurl-7.79.1-he415e40_1
  libedit            conda-forge/linux-ppc64le::libedit-3.1.20191231-h41a240f_2
  libev              conda-forge/linux-ppc64le::libev-4.33-h6eb9509_1
  libevent           conda-forge/linux-ppc64le::libevent-2.1.10-h97db324_4
  libgfortran-ng     conda-forge/linux-ppc64le::libgfortran-ng-11.2.0-hfdc3801_11
  libgfortran5       conda-forge/linux-ppc64le::libgfortran5-11.2.0-he58fbb4_11
  liblapack          conda-forge/linux-ppc64le::liblapack-3.9.0-11_linuxppc64le_openblas
  libnghttp2         conda-forge/linux-ppc64le::libnghttp2-1.43.0-h42039ad_1
  libopenblas        conda-forge/linux-ppc64le::libopenblas-0.3.17-pthreads_h486567c_1
  libprotobuf        conda-forge/linux-ppc64le::libprotobuf-3.18.1-h690f14c_0
  libssh2            conda-forge/linux-ppc64le::libssh2-1.10.0-ha5a9321_2
  libthrift          conda-forge/linux-ppc64le::libthrift-0.15.0-h54f692e_1
  libutf8proc        conda-forge/linux-ppc64le::libutf8proc-2.6.1-h4e0d66e_0
  lz4-c              conda-forge/linux-ppc64le::lz4-c-1.9.3-h3b9df90_1
  multidict          conda-forge/linux-ppc64le::multidict-5.2.0-py36hc33305d_0
  multiprocess       conda-forge/linux-ppc64le::multiprocess-0.70.12.2-py36hc33305d_0
  numpy              conda-forge/linux-ppc64le::numpy-1.19.5-py36h86665d4_1
  orc                conda-forge/linux-ppc64le::orc-1.7.0-hae6b4bd_0
  packaging          conda-forge/noarch::packaging-21.0-pyhd8ed1ab_0
  pandas             conda-forge/linux-ppc64le::pandas-1.1.5-py36hab1a6e6_0
  parquet-cpp        conda-forge/noarch::parquet-cpp-1.5.1-2
  pyarrow            conda-forge/linux-ppc64le::pyarrow-5.0.0-py36h7a46c7e_8_cpu
  pycparser          conda-forge/noarch::pycparser-2.20-pyh9f0ad1d_2
  pyopenssl          conda-forge/noarch::pyopenssl-21.0.0-pyhd8ed1ab_0
  pyparsing          conda-forge/noarch::pyparsing-2.4.7-pyh9f0ad1d_0
  pysocks            conda-forge/linux-ppc64le::pysocks-1.7.1-py36h270354c_3
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.2-pyhd8ed1ab_0
  python-xxhash      conda-forge/linux-ppc64le::python-xxhash-2.0.2-py36hc33305d_0
  python_abi         conda-forge/linux-ppc64le::python_abi-3.6-2_cp36m
  pytz               conda-forge/noarch::pytz-2021.3-pyhd8ed1ab_0
  pyyaml             conda-forge/linux-ppc64le::pyyaml-5.4.1-py36hc33305d_1
  re2                conda-forge/linux-ppc64le::re2-2021.09.01-h3b9df90_0
  requests           conda-forge/noarch::requests-2.25.1-pyhd3deb0d_0
  s2n                conda-forge/linux-ppc64le::s2n-1.0.10-h97db324_0
  six                conda-forge/noarch::six-1.16.0-pyh6c4a22f_0
  snappy             conda-forge/linux-ppc64le::snappy-1.1.8-hb209c28_3
  tqdm               conda-forge/noarch::tqdm-4.62.3-pyhd8ed1ab_0
  typing-extensions  conda-forge/noarch::typing-extensions-3.10.0.2-hd8ed1ab_0
  typing_extensions  conda-forge/noarch::typing_extensions-3.10.0.2-pyha770c72_0
  urllib3            conda-forge/noarch::urllib3-1.26.7-pyhd8ed1ab_0
  xxhash             conda-forge/linux-ppc64le::xxhash-0.8.0-h4e0d66e_3
  yaml               conda-forge/linux-ppc64le::yaml-0.2.5-h6eb9509_0
  yarl               conda-forge/linux-ppc64le::yarl-1.6.3-py36hc33305d_2
  zipp               conda-forge/noarch::zipp-3.6.0-pyhd8ed1ab_0
  zstd               conda-forge/linux-ppc64le::zstd-1.5.0-h65c4b1a_0

The following packages will be UPDATED:

  certifi            pkgs/main::certifi-2020.12.5-py36h6ff~ --> conda-forge::certifi-2021.5.30-py36h270354c_0


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
```



## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.12.1
- Platform: Red Hat Enterprise Linux 8.2 (Ootpa)
- Python version: 3.6
- PyArrow version: pyarrow - 5.0.0 - py36h7a46c7e_8_cpu - conda-forge


Any help would be appreciated! I've been struggling on installing datasets on this machine.


Comments:
This seems to be an issue with importing PyArrow so I posted the problem [here](https://issues.apache.org/jira/browse/ARROW-14323), and I'm closing this issue.