You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/lennard/PycharmProjects/myproj/data2.py", line 26, in <module>
df = get_latest_data(target_close)
File "/Users/lennard/PycharmProjects/myproj/data2.py", line 11, in get_latest_data
df = get_history(symbol='SBIN',
File "/Users/lennard/PycharmProjects/scalping/venv/lib/python3.9/site-packages/nsepy/history.py", line 138, in get_history
return get_history_quanta(**kwargs)
File "/Users/lennard/PycharmProjects/scalping/venv/lib/python3.9/site-packages/nsepy/history.py", line 143, in get_history_quanta
df = url_to_df(url=url,
File "/Users/lennard/PycharmProjects/scalping/venv/lib/python3.9/site-packages/nsepy/history.py", line 152, in url_to_df
bs = BeautifulSoup(resp.text, 'lxml')
File "/Users/lennard/PycharmProjects/scalping/venv/lib/python3.9/site-packages/bs4/__init__.py", line 248, in __init__
raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
pip install lxml
Requirement already satisfied: lxml in ./venv/lib/python3.9/site-packages (4.9.1)
Idk why the f*** this is happening.
The text was updated successfully, but these errors were encountered: