Created
June 15, 2020 22:03
-
-
Save chiroptical/53e8be9f3726db7d1a704e0eb4b1da6c to your computer and use it in GitHub Desktop.
Installing OpenSoundscape Ubuntu 18.04 on t2.medium AWS instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade | |
sudo apt install python3.7 python3.7-venv python3.7-distutils python3.7-dev gcc g++ libsndfile1 | |
sudo snap install ffmpeg # Get ffmpeg 4 | |
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 | |
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2 | |
sudo update-alternatives --config python3 # Make sure 3.7 is selected | |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 | |
~/.poetry/bin/poetry config virtualenvs.in-project true | |
~/.poetry/bin/poetry install # If this fails because of pytorch, goto 11 else goto 12 | |
./.venv/bin/pip install --no-deps --no-cache-dir torch==1.5.0 | |
~/.poetry/bin/poetry run pytest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment