probberechts / soccerdata

⛏⚽ Scrape soccer data from Club Elo, ESPN, FBref, FiveThirtyEight, Football-Data.co.uk, FotMob, Sofascore, SoFIFA, Understat and WhoScored.
https://soccerdata.readthedocs.io/en/latest/
Other
511 stars 87 forks source link

[WhoScored] issubclass() arg 2 must be a class, a tuple of classes, or a union #605

Open AakashKaushal07 opened 2 weeks ago

AakashKaushal07 commented 2 weeks ago

Hi When I am trying to create a whoscored object using ws = sd.WhoScored(leagues='ENG-Premier League', seasons=2017)

I was getting this error : "issubclass() arg 2 must be a class, a tuple of classes, or a union "

I suspect this could be an issue due to LooseVersion being deprecated, but not sure.( relatively new to python )

probberechts commented 2 weeks ago

Can you provide the full stack trace of the error, please?