Tried the following:
!sudo apt-get install sox libsox-dev libsox-fmt-all
!pip install git+git://github.com/pytorch/audio
Got the following message:
Successfully built torchaudio
However, got the following error while importing torchaudio:
import torchaudio
RuntimeError: Failed to parse the argument list of a type annotation: name 'Optional' is not defined
Am I missing something?