'Install of PySuperTuxKartData getting stuck

I am trying to install PySuperTuxKart onto my windows 10 computer via anaconda. However every time I try to install PySuperTuxKart, PySuperTuxKart installs fine but PySuperTuxKartData seems to hang. I have let it sit for 5 minutes with no progress being made. My metric is that the loading animation just gets stuck this whole time and does not move. I have tried this on python versions 3.9-3.7. It installs fine in a venv that is version 3.10 but I need a package that is only available up to python 3.9. I enabled the verbose flag on the pip install and this is the output.

Using pip 22.0.4 from C:\Users\<user>\Anaconda3\envs\test\lib\site-packages\pip (python 3.7)
Collecting PySuperTuxKart
  Using cached PySuperTuxKart-1.1.2-cp37-cp37m-win_amd64.whl (2.7 MB)
Collecting PySuperTuxKartData
  Using cached PySuperTuxKartData-1.0.0.tar.gz (2.6 kB)
  Installing build dependencies ...   Running command pip subprocess to install build dependencies
  Collecting setuptools>=42
    Using cached setuptools-62.1.0-py3-none-any.whl (1.1 MB)
  Collecting requests
    Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
  Collecting wheel
    Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
  Collecting idna<4,>=2.5
    Using cached idna-3.3-py3-none-any.whl (61 kB)
  Collecting certifi>=2017.4.17
    Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
  Collecting charset-normalizer~=2.0.0
    Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
  Collecting urllib3<1.27,>=1.21.1
    Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
  Installing collected packages: certifi, wheel, urllib3, setuptools, idna, charset-normalizer, requests
  Successfully installed certifi-2021.10.8 charset-normalizer-2.0.12 idna-3.3 requests-2.27.1 setuptools-62.1.0 urllib3-1.26.9 wheel-0.37.1
done
  Getting requirements to build wheel ...   Running command Getting requirements to build wheel
  running egg_info
  writing PySuperTuxKartData.egg-info\PKG-INFO
  writing dependency_links to PySuperTuxKartData.egg-info\dependency_links.txt
  writing requirements to PySuperTuxKartData.egg-info\requires.txt
  writing top-level names to PySuperTuxKartData.egg-info\top_level.txt
  reading manifest file 'PySuperTuxKartData.egg-info\SOURCES.txt'
  writing manifest file 'PySuperTuxKartData.egg-info\SOURCES.txt'
done
  Preparing metadata (pyproject.toml) ...   Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info
  writing C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\PKG-INFO
  writing dependency_links to C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\dependency_links.txt
  writing requirements to C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\requires.txt
  writing top-level names to C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\top_level.txt
  writing manifest file 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\SOURCES.txt'
  reading manifest file 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\SOURCES.txt'
  writing manifest file 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\SOURCES.txt'
  creating 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData-1.0.0.dist-info'
done
Collecting requests
  Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\<user>\anaconda3\envs\test\lib\site-packages (from requests->PySuperTuxKartData->PySuperTuxKart) (2021.10.8)
Collecting idna<4,>=2.5
  Using cached idna-3.3-py3-none-any.whl (61 kB)
Building wheels for collected packages: PySuperTuxKartData
  Building wheel for PySuperTuxKartData (pyproject.toml) ...   Running command Building wheel for PySuperTuxKartData (pyproject.toml)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib
  creating build\lib\pystk_data
  copying .\setup.py -> build\lib\pystk_data
  copying .\__init__.py -> build\lib\pystk_data
  running fetch_data

It hangs on the running fetch_data step. Any suggestions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source