FAQ¶
Common problems when installing and first running UniLab from a source checkout. The examples below use generic proxy placeholders; adapt proxy hosts, ports, and CUDA paths to your environment.
httpx SOCKS proxy missing socksio¶
ImportError: Using SOCKS proxy, but the 'socksio' package is not installed.
huggingface_hub uses httpx, which requires socksio once it detects
ALL_PROXY=socks5://.... Install it into the project .venv/ (not conda):
uv pip install httpx[socks] --python .venv/bin/python
Or switch to an HTTP proxy to avoid SOCKS entirely:
unset all_proxy ALL_PROXY
export http_proxy=http://proxy.example.com:8080
export https_proxy=http://proxy.example.com:8080
Replace proxy.example.com:8080 with your own proxy endpoint.
conda install connection fails¶
CondaHTTPError: HTTP 000 CONNECTION FAILED for url
Some conda setups do not use shell proxy variables. Configure conda’s own proxy settings when package resolution fails behind a proxy:
conda config --set proxy_servers.http http://proxy.example.com:8080
conda config --set proxy_servers.https http://proxy.example.com:8080
ffmpeg missing¶
RuntimeError: Program 'ffmpeg' is not found
Replay video recording after training needs ffmpeg:
sudo apt install ffmpeg
Quick reference¶
Symptom |
Fix |
|---|---|
socksio not installed |
|
native H2D extension unavailable |
install C++ / CUDA Toolkit prerequisites or use the fallback |
conda HTTP 000 |
configure |
ffmpeg not found |
|