darknessomi / musicbox

网易云音乐命令行版本
MIT License
9.83k stars 1.58k forks source link

选到歌曲精选的时候会崩溃 #404

Closed moboard closed 8 years ago

moboard commented 8 years ago

~ musicbox

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/NEMbox/__init__.py", line 27, in start
    nembox_menu.start_fork(version)
  File "/usr/lib/python2.7/site-packages/NEMbox/menu.py", line 176, in start_fork
    Menu().start()
  File "/usr/lib/python2.7/site-packages/NEMbox/menu.py", line 340, in start
    self.dispatch_enter(idx)
  File "/usr/lib/python2.7/site-packages/NEMbox/menu.py", line 609, in dispatch_enter
    self.datalist = netease.dig_info(data['callback'](), self.datatype)
  File "/usr/lib/python2.7/site-packages/NEMbox/api.py", line 669, in dig_info
    soup = BeautifulSoup(data, 'lxml')
  File "/usr/lib/python2.7/site-packages/bs4/__init__.py", line 165, in __init__
    % ",".join(features))
FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

之前一直都没有问题的,这是提示要安装哪个包?

moboard commented 8 years ago

补充,是精选歌单-分类精选,然后才崩溃的。

kigawas commented 8 years ago

安装lxml

On Wed, Oct 5, 2016, 12:53 moboard notifications@github.com wrote:

补充,是精选歌单-分类精选,然后才崩溃的。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/darknessomi/musicbox/issues/404#issuecomment-251581564, or mute the thread https://github.com/notifications/unsubscribe-auth/AD_RSvdlZUjYEcmW6yKZYX6qNALB-y1vks5qwy1HgaJpZM4KOalA .

moboard commented 8 years ago

重新安装了几个包之后,提示稍变了下: FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library? 再安装pypy-lxml,还是崩溃。

kigawas commented 8 years ago

确定是pypy?根据python版本安装python2-lxml或python3-lxml(类似名字)

On Wed, Oct 5, 2016, 16:21 moboard notifications@github.com wrote:

重新安装了几个包之后,提示稍变了下:

FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

再安装pypy-lxml,还是崩溃。

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/darknessomi/musicbox/issues/404#issuecomment-251611984, or mute the thread https://github.com/notifications/unsubscribe-auth/AD_RSjLx3t4G-fqXWu8Q1-chKsA0Ln8Oks5qw13rgaJpZM4KOalA .

moboard commented 8 years ago

库里只有一个pypy-lxml最相似,包括aur里。

imr092 commented 8 years ago

要用python3

kigawas commented 8 years ago

直接pip install lxml应该也可以

sqltxt commented 6 years ago

树莓派留爪 easy_install lxml python setup.py install