返回列表 发布新帖

[巴法络] 请教:安装FlexGet出错

4860 4
发表于 2013-4-26 10:56:26 | 查看全部 阅读模式

来吧兄弟,一起玩一起讨论!

您需要 登录 才可以下载或查看,没有账号?注册

×
上周新机到手后(LS-WVL)成功安装过,因为识别不了USB设备,昨天重新刷机官方1.64固件,ROOT,SSH,PT成功,但是在安装Flexget时出错了。执行安装命令后,下载时出错,说是证书问题,不知是个例还是下载站点出了问题。

参照的是“宿醉冇醒 ”的帖子安装的http://www.gebi1.com/thread-24224-1-1.html

root@Nas:~# /opt/local/bin/pip install feedparser
Downloading/unpacking feedparser
  Could not fetch URL https://pypi.python.org/simple/feedparser/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
  Will skip URL https://pypi.python.org/simple/feedparser/ when looking for download links for feedparser
  Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
  Will skip URL https://pypi.python.org/simple/ when looking for download links for feedparser
  Cannot fetch index base URL https://pypi.python.org/simple/
  Could not fetch URL https://pypi.python.org/simple/feedparser/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
  Will skip URL https://pypi.python.org/simple/feedparser/ when looking for download links for feedparser
  Could not find any downloads that satisfy the requirement feedparser
No distributions at all found for feedparser
Storing complete log in /root/.pip/pip.log
root@Nas:~# /opt/local/bin/pip install flexget   
Downloading/unpacking flexget
  Could not fetch URL https://pypi.python.org/simple/flexget/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
  Will skip URL https://pypi.python.org/simple/flexget/ when looking for download links for flexget
  Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
  Will skip URL https://pypi.python.org/simple/ when looking for download links for flexget
  Cannot fetch index base URL https://pypi.python.org/simple/
  Could not fetch URL https://pypi.python.org/simple/flexget/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
  Will skip URL https://pypi.python.org/simple/flexget/ when looking for download links for flexget
  Could not find any downloads that satisfy the requirement flexget
No distributions at all found for flexget
Storing complete log in /root/.pip/pip.log

评论4

clqzwyf 发表于 2013-4-26 14:14:19 | 查看全部
python -v 看看。
如果是2.6。升级成2.7看看
我也出现过这个问题。怀疑是python版本不对。要2.7的。
回复 点赞

使用道具 举报

新月楼主 发表于 2013-5-7 10:42:24 | 查看全部
的确,查看的结果如下:
root@Nas:/# python -V                           
Python 2.6.2

但是已执行升级命令,提示已安装,如下:
root@Nas:/# ipkg install python27 py27-setuptools
Package python27 (2.7.3-1) installed in root is up to date.
Package py27-setuptools (0.6c11-2) installed in root is up to date.
Nothing to be done
Successfully terminated.


还请指教,谢谢!
回复 点赞

使用道具 举报

新月楼主 发表于 2013-5-9 17:26:27 | 查看全部
本帖最后由 新月 于 2013-5-9 17:27 编辑

解决了!{:3_53:}
没有用这二个安装命令
/opt/local/bin/pip install feedparser
/opt/local/bin/pip install flexget

而是用
easy_install-2.7 flexget
命令来安装
回复 点赞

使用道具 举报

宿醉冇醒Lv.4 发表于 2013-5-10 11:56:58 | 查看全部
新月 发表于 2013-5-9 17:26
解决了!
没有用这二个安装命令
/opt/local/bin/pip install feedparser

那个报错是https下载有问题

这样安装能解决问题就好{:3_57:}
回复 点赞

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

淘宝小店

邀请码

VIP会员

微信客服

公众号

微信群

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表