Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

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

Closed
@moboard

Description

@moboard

~ 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?

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

Activity

moboard

moboard commented on Oct 5, 2016

@moboard
Author

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

kigawas

kigawas commented on Oct 5, 2016

@kigawas
Collaborator

安装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
#404 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD_RSvdlZUjYEcmW6yKZYX6qNALB-y1vks5qwy1HgaJpZM4KOalA
.

moboard

moboard commented on Oct 5, 2016

@moboard
Author

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

kigawas

kigawas commented on Oct 5, 2016

@kigawas
Collaborator

确定是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
#404 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD_RSjLx3t4G-fqXWu8Q1-chKsA0Ln8Oks5qw13rgaJpZM4KOalA
.

moboard

moboard commented on Oct 5, 2016

@moboard
Author

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

imr092

imr092 commented on Oct 10, 2016

@imr092

要用python3

kigawas

kigawas commented on Oct 13, 2016

@kigawas
Collaborator

直接pip install lxml应该也可以

sqltxt

sqltxt commented on Jan 9, 2018

@sqltxt

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @imr092@kigawas@moboard@sqltxt

        Issue actions

          选到歌曲精选的时候会崩溃 · Issue #404 · darknessomi/musicbox