Search code examples
pipcondapyarrowconda-forge

Can't install the latest version of python package


I am trying to install pyarrow 0.16 that seems to be available: https://anaconda.org/conda-forge/pyarrow

when I execute one of the below, 0.15.1 gets installed

conda install -c conda-forge pyarrow
conda install -c conda-forge/label/gcc7 pyarrow
conda install -c conda-forge/label/broken pyarrow
conda install -c conda-forge/label/cf201901 pyarrow
conda install -c conda-forge/label/cf202003 pyarrow

pip install installs 0.15.1 as well

I tried to use conda env:

conda create -n work1 pyarrow=0.16.0

and get this:

PackagesNotFoundError: The following packages are not available from current channels:

  • pyarrow=0.16.0

Any idea what may cause this?


Solution

  • The latest version is available from the conda-forge channel. If you want to install it from there, it is recommended to create a new conda environment. First add conda-forge as channel and set the channel priority (see instructions):

    conda config --add channels conda-forge
    conda config --set channel_priority strict
    

    and then try to re-create the environment:

    conda create -n work1 pyarrow=0.16.0