mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 02:25:51 +03:00
[GH-ISSUE #600] Import issues #109
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ivenos on GitHub (May 29, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/600
Hey guys,
can you help me, I don't know what I am doing wrong:
Just want to test the scaper.
import soccerdata as sd
fbref = sd.FBref()
player_season_stats = fbref.read_player_season_stats(stat_type="standard")
leagues = fbref.available_leagues()
print(leagues)
Output:
[Running] python -u "-\soccerdata-1.7.1\test.py"
Traceback (most recent call last):
File "-\soccerdata-1.7.1\test.py", line 1, in
import soccerdata as sd
File "-\soccerdata_init_.py", line 18, in
from .clubelo import ClubElo
File "-\soccerdata\clubelo.py", line 11, in
from .common import BaseRequestsReader, standardize_colnames
File "-\soccerdata_common.py", line 18, in
import undetected_chromedriver as uc
File "C:\Users-\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver_init.py", line 44, in
from .patcher import IS_POSIX
File "C:\Users-\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver\patcher.py", line 4, in
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
@ivenos commented on GitHub (May 29, 2024):
pip install setuptools