Install hf on ubuntu
# 1. Install the missing Python pip and virtual environment modules sudo apt update && sudo apt install python3-pip python3-venv -y # 2. Wipe the corrupted/incomplete Hugging Face installation folder rm -rf /home/mars/.hf-cli # 3. Run the installer again curl -LsSf https://hf.co/cli/install.sh | bash