LiveCodeBench Portable Venv Bundle
This directory contains a portable transfer bundle for the LiveCodeBench Python environment.
Files
LiveCodeBench-venv-portable-20260407.tar.zstPortable environment archive.LiveCodeBench-venv-portable-20260407.tar.zst.sha256SHA256 checksum file for archive verification.restore_livecodebench_venv.shRestore the environment on the target server and rewrite internal absolute paths.send_livecodebench_venv_to_server.shCopy the bundle to a remote server withscp.
Recommended Workflow
Run from this directory on the source server:
cd ~/LiveCodeBench-venv-portable-bundle
bash ./send_livecodebench_venv_to_server.sh user@your-server ~ /data/repos/LiveCodeBench/.venv
Then restore on the target server:
ssh user@your-server 'bash ~/restore_livecodebench_venv.sh ~/LiveCodeBench-venv-portable-20260407.tar.zst /data/repos/LiveCodeBench/.venv'
Manual Workflow
If you prefer to copy files yourself:
scp LiveCodeBench-venv-portable-20260407.tar.zst \
LiveCodeBench-venv-portable-20260407.tar.zst.sha256 \
restore_livecodebench_venv.sh \
user@your-server:~
Restore manually on the target server:
bash ~/restore_livecodebench_venv.sh \
~/LiveCodeBench-venv-portable-20260407.tar.zst \
/data/repos/LiveCodeBench/.venv
What The Restore Script Does
- Verifies the archive checksum when the
.sha256file is present. - Extracts the environment.
- Rewrites shebangs and
pyvenv.cfgfor the target path. - Uses the bundled
.python-homeruntime so the venv does not depend on the original source machine'suvPython location.
Notes
- The target server should have a compatible Linux userspace.
- Native wheels may still require compatible CPU architecture,
glibc,libstdc++, and CUDA driver/runtime versions. - The default target path is
/data/repos/LiveCodeBench/.venv, but you can restore to a different path by passing a different second argument torestore_livecodebench_venv.sh.
Checksum
Current archive SHA256:
da52c6e9200a7f14b8fba8d733b0b168f4cdf42c69f328986405b0a53fe5a0a0