Live data from Hacker News

Show HN: A Package/Cli App/api to Search and Display Lyrics.Would Love Feedback

github.com

1–4 of 4 posts

Re: Show HN: A Package/Cli App/api to Search and Display Lyrics.Would Love Feedback

#2
Hi there! Looks good, but something weird happened:

  $ lyricfetcher bob dylan "like a rolling stone"
   Traceback (most recent call last):
  File "/usr/local/bin/lyricfetcher", line 7, in 
    from lyricfetcher.main import main
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/__init__.py", line 1, in 
    from .main import get_lyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/main.py", line 4, in 
    from lyricfetcher.sources import get_lyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/sources/__init__.py", line 1, in 
    from lyricfetcher.sources.AZlyrics import AZlyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/sources/AZlyrics.py", line 1, in 
    import urllib.request
ImportError: No module named request

Re: Show HN: A Package/Cli App/api to Search and Display Lyrics.Would Love Feedback

#3

Hi there! Looks good, but something weird happened: $ lyricfetcher bob dylan "like a rolling stone" Traceback (most recent call last): File "/usr/local/bin/lyricfetcher", line 7, in from lyricfetcher.main import main File "/usr/local/lib/python2.7/site-packages/lyricfetcher/__init__.py", line 1, in from .main import get_lyrics File "/usr/local/lib/python2.7/site-packages/lyricfetcher/main.py", line 4, in from lyricfe…

Hello!

You need to have python 3 for the library to work.

You can Check your python version by typing

python --version

It seems You have 2.7,I really recommend you move to 3.6,it's much more Stable and fast!

Re: Show HN: A Package/Cli App/api to Search and Display Lyrics.Would Love Feedback

#4

Hi there! Looks good, but something weird happened: $ lyricfetcher bob dylan "like a rolling stone" Traceback (most recent call last): File "/usr/local/bin/lyricfetcher", line 7, in from lyricfetcher.main import main File "/usr/local/lib/python2.7/site-packages/lyricfetcher/__init__.py", line 1, in from .main import get_lyrics File "/usr/local/lib/python2.7/site-packages/lyricfetcher/main.py", line 4, in from lyricfe…

Hello! You need to have python 3 for the library to work. You can Check your python version by typing python --version It seems You have 2.7,I really recommend you move to 3.6,it's much more Stable and fast!

Well, i do have Python 3. But the fact is that if this package only works with python 3, you should specify such in the pip package info file. Otherwise, I’ll just pip install and try to run it with Python27 because pip for 2.7 installed it with no problems. Cheers