Skip to content

Commit fb69472

Browse files
authored
ncurses.h is required to install torch audio
1 parent 85e1c42 commit fb69472

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/torch.Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ RUN pip install /usr/local/src/pytorch/dist/*.whl
4242
# Instructions: https://github.com/pytorch/audio#from-source
4343
# See comment above for PYTORCH_BUILD_VERSION.
4444
ENV BUILD_VERSION=$TORCHAUDIO_VERSION
45-
RUN cd /usr/local/src && \
45+
RUN sudo apt-get update && \
46+
# ncurses.h is required for this install
47+
sudo apt-get install libncurses-dev && \
48+
cd /usr/local/src && \
4649
git clone https://github.com/pytorch/audio && \
4750
cd audio && \
4851
git checkout tags/v$TORCHAUDIO_VERSION && \

0 commit comments

Comments
 (0)