pip3 安装 pandas 挂起 [英] pip3 install pandas hangs

查看:26
本文介绍了pip3 安装 pandas 挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用标题中的命令在 raspberry pi 2(型号 b,7 wheezy)、python3.5.1、pip 9.0.1 上安装 pandas,这是我的终端.

I'm trying to install pandas on the raspberry pi 2 (model b, 7 wheezy), python3.5.1, pip 9.0.1 with the command from the title, this is my terminal.

pi@raspberrypi ~ $ sudo pip3 install pandas
Collecting pandas
  Using cached pandas-0.21.0.tar.gz
Requirement already satisfied: python-dateutil>=2 in /usr/local/lib/python3.5/site-packages (from pandas)
Requirement already satisfied: pytz>=2011k in /usr/local/lib/python3.5/site-packages (from pandas)
Requirement already satisfied: numpy>=1.9.0 in /usr/local/lib/python3.5/site-packages (from pandas)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.5/site-packages (from python-dateutil>=2->pandas)
Installing collected packages: pandas
  Running setup.py install for pandas ... /

我已经这样放了几个小时了,没有任何进展,怎么了?

I have left it like this for hours, with no progress, what is wrong?

没有成功,我尝试过:

https://bbs.archlinux.org/viewtopic.php?id=174186

针对 Andy K 的评论进行编辑,我已尝试使用 apt-get 进行以下操作:

Edit in response to Andy K's comment, I have tried the following with apt-get:

pi@raspberrypi ~ $ sudo apt-get install python3-pandas
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-pandas

我已经添加了正确的存储库,但仍然没有快乐

I've added the correct repositories, but still no joy

推荐答案

我通过升级 pi 上的 os 解决了这个问题,然后使用以下命令:

I solved this by upgrading the os on the pi, then using the command:

sudo apt-get install python3-pandas

我的存储库现在与问题中的存储库 link 略有不同,它们如下:

My repositories are now slightly different to in the repositories link in the question, they are below:

deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi

如果有人感兴趣,现在的规格如下:

If anyone's interested, the specs are now as below:

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

最后,使用新的操作系统我仍然无法 pip install pandas,我让它运行了一夜没有成功

Finally, with the new os I still could not pip install pandas, i left it running overnight with no success

这篇关于pip3 安装 pandas 挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆