我想将 pip 安装到小猎犬骨黑上,我尝试了这个:
/usr/bin/ntpdate -b -s -u pool.ntp.org
opkg update && opkg install python-pip python-setuptools
然后,它抛出了错误,但不幸的是,我没有记录那些错误。
这是错误:
Collected errors:
* parse_from_stream_nomalloc: Excessively long line at 6. Corrupt file?
它发生在一周前,尚未解决。
我现在想解决它,我尝试通过 ssh 连接,但我失败了。
当我 ping 到 beagle bone 时,它会响应,并且 Cloud9 IDE 也在工作,但 ssh 没有。
我不认为这是一个严重的问题,因为我可以通过其他方法连接到 beagle bone:Cloud9 左右。
但是,要在 beagle bone 上使用 python,我需要通过 ssh 连接。
在尝试更新和安装 python-pip 之前,我可以通过 ssh 连接。
您有解决此连接问题的想法吗?
引用:
Setting up IO Python Library on BeagleBone Black
View Full Version : [VU+ Duo] Error installing ipk on Vu+ Duo
注意
I use default OS: Angstrom
I don't use SD card.
HOST PC is mac, OS.X 10.9
我检查了这个,但这没有帮助
Cannot connect to beagle bone black
我可以通过 GateOne SSH 客户端连接,但仍然无法从终端连接。
最佳答案
(在评论和问题编辑中回答了问题。见 Question with no answers, but issue solved in the comments (or extended in chat))
OP写道:
I solved this problem by succeeding update
opkg
, so I will write the details:First, remove
beaglbone
file
rm /var/lib/opkg/lists/beaglebone
and,remove
lists
folder
rmdir /var/lib/opkg/lists
then, set current time on beagle
/usr/bin/ntpdate -b -s -u pool.ntp.org
afterwards, update and upgrade
opkg
:
opkg update and opkg upgrade
now you can use opkg !
关于ssh - 无法通过 ssh 连接小猎犬骨黑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19897749/