Skip to content

Commit

Permalink
Fix missing libtinfo5 on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony-Y committed May 3, 2024
1 parent b495e4b commit 24f5251
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt update && sudo apt install -y libtinfo5
fi
python -m pip install --upgrade pip
pip install numpy -U
pip install torch==${{ matrix.pytorch-version }} -f https://download.pytorch.org/whl/torch_stable.html
Expand Down

0 comments on commit 24f5251

Please sign in to comment.