pigar unable to recognize html5lib
shravanasati opened this issue · comments
Shravan Asati commented
So this is the code snippet I was working with:
from bs4 import BeautifulSoup
import requests
r = requests.get("some-url")
soup =BeautifulSoup(r.content, "html5lib")
...
When I later generated requriements.txt with pigar, bs4 and requests were there, but not the parser html5lib.
Xiaochao Dong commented
You can import it explicitly to resolve this issue.
I don't see a simple solution for this, since analyzing the dependencies of dependencies is complicated and we can not execute users' program safely to do some magical things.
Xiaochao Dong commented
I recommend you try some package management tools, pigar isn't one.