The error is happening on the 2nd line of code when calling fbref.
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/steve/PycharmProjects/soccer/venv/lib/python3.9/site-packages/soccerdata/__init__.py", line 17, in <module>
from .fbref import FBref
File "/Users/steve/PycharmProjects/soccer/venv/lib/python3.9/site-packages/soccerdata/fbref.py", line 9, in <module>
from lxml import etree, html
ImportError: dlopen(/Users/steve/PycharmProjects/soccer/venv/lib/python3.9/site-packages/lxml/etree.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace '_exsltDateXpathCtxtRegister'
Is this a version issue with installed packages? I have lxml installed for this project and it's worked for other projects that I've used it for. Could it be a conflict with a different version? Any help is greatly appreciated.
I'm just starting with soccerdata, but have a python and programming background. The code I'm having an issue with is:
The error is happening on the 2nd line of code when calling fbref.
Traceback (most recent call last):
Is this a version issue with installed packages? I have lxml installed for this project and it's worked for other projects that I've used it for. Could it be a conflict with a different version? Any help is greatly appreciated.
Steve