在 conda 环境中在 Raspberry Pi 4 上安装 pandas 时出错

Error installing pandas on Raspberry Pi 4 in conda environment

我正在尝试使用 conda install pandas 将 pandas 安装到我的 conda 环境中,但安装失败,因为 pandas 依赖于 pytz 和 pytz requires a minimum conda version of 4.3.

如果我 运行 在一个普通的 Linux 盒子上,我会使用 'conda update conda' 更新我的 conda 并且所有内容都会被排序......但是......最新支持Rasperry Pi 上的 conda 版本是 4.2.13(使用 rpi conda 通道 conda config --add channels rpi)。

求助!在 Raspberry Pi 4B 上的 conda 环境中真的不能使用 pandas 吗?!

重现问题:

Raspberry Pi 4B, 8GB RAM with 64GB SD card)
OS: Raspbian Buster (10) (lsb_release -irdc)
IDE: Spyder 4
Python: 3.4.3 (python --version)
Virtual environment: Conda (Miniconda distribution)
Conda version: 4.2.13 (linux-armv7l) (conda info)

当前conda环境(conda list):

conda         4.2.13
conda-env     2.6.0
ncurses       6.1
openssl       1.0.1k
pip           20.1.1
psycosat      0.6.1
pycrpto       2.6.1
python        3.4.3
pyyaml        3.11
readline      7.0
requests      2.7.0
ruamel_yaml   0.11.14
setuptools    18.1
SQLite        3.24.0
wheel         0.34.2
xz            5.0.5
yaml          0.1.7
zlib          1.1.11

相关问题:
类似问题的过时答案(不再支持 Berry Conda / RPI 频道):

安装旧版本 pandas 而不是虚拟环境:https://raspberrypi.stackexchange.com/questions/17073/how-do-i-install-pandas-on-raspberry-pi

我 运行 遇到了完全相同的问题。解决方案是转储 miniconda (python=3.4) 并使用 virtualenv 和 pip(使用系统版本 python 3.7)。然后一切顺利。