无法安装最新版本的 python 包
Can't install the latest version of python package
我正在尝试安装似乎可用的 pyarrow 0.16:
https://anaconda.org/conda-forge/pyarrow
当我执行以下操作之一时,安装了 0.15.1
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 也安装 0.15.1
我尝试使用 conda 环境:
conda create -n work1 pyarrow=0.16.0
得到这个:
PackagesNotFoundError:当前渠道不提供以下软件包:
- pyarrow=0.16.0
知道是什么原因造成的吗?
从 https://pypi.org/pypi/pyarrow/json
检查 pyarrow 依赖项
在 ['info']['requires_dist']
中您会发现:
['numpy (>=1.14)',
'six (>=1.0.0)',
'futures; python_version < "3.2"',
'enum34 (>=1.1.6); python_version < "3.4"']
然后您还可以直接从 https://pypi.org/project/pyarrow/#files 下载 pyarrow-0.16.0-cp38-cp38-win_amd64.whl(或您需要的任何版本)并 pip 安装它。
最新版本可从 conda-forge 频道获得。如果你想从那里安装它,建议创建一个新的 conda 环境。首先添加 conda-forge 作为通道并设置通道优先级(参见instructions):
conda config --add channels conda-forge
conda config --set channel_priority strict
然后尝试重新创建环境:
conda create -n work1 pyarrow=0.16.0
我正在尝试安装似乎可用的 pyarrow 0.16: https://anaconda.org/conda-forge/pyarrow
当我执行以下操作之一时,安装了 0.15.1
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 也安装 0.15.1
我尝试使用 conda 环境:
conda create -n work1 pyarrow=0.16.0
得到这个:
PackagesNotFoundError:当前渠道不提供以下软件包:
- pyarrow=0.16.0
知道是什么原因造成的吗?
从 https://pypi.org/pypi/pyarrow/json
检查 pyarrow 依赖项
在 ['info']['requires_dist']
中您会发现:
['numpy (>=1.14)',
'six (>=1.0.0)',
'futures; python_version < "3.2"',
'enum34 (>=1.1.6); python_version < "3.4"']
然后您还可以直接从 https://pypi.org/project/pyarrow/#files 下载 pyarrow-0.16.0-cp38-cp38-win_amd64.whl(或您需要的任何版本)并 pip 安装它。
最新版本可从 conda-forge 频道获得。如果你想从那里安装它,建议创建一个新的 conda 环境。首先添加 conda-forge 作为通道并设置通道优先级(参见instructions):
conda config --add channels conda-forge
conda config --set channel_priority strict
然后尝试重新创建环境:
conda create -n work1 pyarrow=0.16.0