gpt4 book ai didi

python - 在 conda 环境中在 Raspberry Pi 4 上安装 Pandas 时出错

转载 作者:行者123 更新时间:2023-12-04 09:30:53 32 4
gpt4 key购买 nike

我正在尝试使用 conda install pandas 将 pandas 安装到我的 conda 环境中但安装失败,因为pandas 依赖于pytz 和pytz requires a minimum conda version of 4.3.如果我在普通的 Linux 机器上运行它,我只会使用“conda update conda”更新我的 conda 并且所有内容都会被排序......但是......树莓派上最新支持的 conda 版本是 4.2.13(使用rpi conda channel conda config --add channels rpi)。
帮助!真的不能在树莓派 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 channel ): Raspberry Pi-Python: Install Pandas on Python 3.5.2
安装旧版本的 Pandas 而不是虚拟环境: https://raspberrypi.stackexchange.com/questions/17073/how-do-i-install-pandas-on-raspberry-pi

最佳答案

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

关于python - 在 conda 环境中在 Raspberry Pi 4 上安装 Pandas 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62851795/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com