[巴法络] 请教:安装FlexGet出错 |
上周新机到手后(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 |
python -v 看看。
如果是2.6。升级成2.7看看 我也出现过这个问题。怀疑是python版本不对。要2.7的。 |
的确,查看的结果如下:
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:27 编辑
解决了!{:3_53:} 没有用这二个安装命令 /opt/local/bin/pip install feedparser /opt/local/bin/pip install flexget 而是用 easy_install-2.7 flexget 命令来安装 |