Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
moboard opened this issue Oct 5, 2016 · 8 comments
Closed

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

moboard opened this issue Oct 5, 2016 · 8 comments

Comments

@moboard
Copy link

moboard commented Oct 5, 2016

~ 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
Copy link
Author

moboard commented Oct 5, 2016

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

@kigawas
Copy link
Collaborator

kigawas commented Oct 5, 2016

安装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
Copy link
Author

moboard commented Oct 5, 2016

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

@kigawas
Copy link
Collaborator

kigawas commented Oct 5, 2016

确定是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
Copy link
Author

moboard commented Oct 5, 2016

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

@imr092
Copy link

imr092 commented Oct 10, 2016

要用python3

@kigawas
Copy link
Collaborator

kigawas commented Oct 13, 2016

直接pip install lxml应该也可以

@kigawas kigawas closed this as completed Oct 13, 2016
@sqltxt
Copy link

sqltxt commented Jan 9, 2018

树莓派留爪
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants