jpdeleon / exofop

0 stars 0 forks source link

bs4 bug #1

Open john-livingston opened 6 years ago

john-livingston commented 6 years ago

when calling script, e.g. get_links --epic 211319617

Traceback (most recent call last): File "/home/jhl/miniconda3/envs/py3/bin/get_links", line 4, in import('pkg_resources').run_script('exofop==0.1.1', 'get_links') File "/home/jhl/miniconda3/envs/py3/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/init.py", line 744, in run_script File "/home/jhl/miniconda3/envs/py3/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/init.py", line 1506, in run_script File "/home/jhl/miniconda3/envs/py3/lib/python3.6/site-packages/exofop-0.1.1-py3.6.egg/EGG-INFO/scripts/get_links", line 23, in File "/home/jhl/miniconda3/envs/py3/lib/python3.6/site-packages/exofop-0.1.1-py3.6.egg/exofop/scrape.py", line 108, in get_all_links File "/home/jhl/miniconda3/envs/py3/lib/python3.6/site-packages/bs4/init.py", line 165, in init % ",".join(features)) bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

jpdeleon commented 6 years ago

Fixed by adding "lxml" dependency in the setup.py