bpiwowar / pystk2-gymnasium

GNU General Public License v3.0
2 stars 1 forks source link

If I want to download SuperTuxKart-1.4-src.tar.xz manually, where should I keep it? #1

Open ZhuShaoQiang opened 1 day ago

ZhuShaoQiang commented 1 day ago

So I am a Chinese students, and I run your example code, and it starts to download something from github:

Downloading https://github.com/supertuxkart/stk-code/releases/download/1.4/SuperTuxKart-1.4-src.tar.xz

and timeout. If I manually download this tar.xz, where should I keep it so this code thinks it had downloaded it already?

bpiwowar commented 18 hours ago

The cache directory is given by Run this code to get the path where the .xz archive should be located

python -c 'from platformdirs import user_cache_dir; VERSION="1.4"; print(f"""Move the archive into {user_cache_dir("PySuperTuxKart2", "bpiwowar")}/{VERSION}/SuperTuxKart-{VERSION}-src.tar.xz""")'