Skip to content

Commit

Permalink
Uses python -m pip style for installation
Browse files Browse the repository at this point in the history
Updates the readme to use `python -m pip install` style for
installing python packages. This is what we suggest at upstream
to reduce the confusion of which Python interpreter is being used.

See more: https://snarky.ca/why-you-should-use-python-m-pip/
  • Loading branch information
kushaldas committed Nov 21, 2023
1 parent 1c570cd commit 80f51fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ AudioCraft requires Python 3.9, PyTorch 2.0.0. To install AudioCraft, you can ru
```shell
# Best to make sure you have torch installed first, in particular before installing xformers.
# Don't run this if you already have PyTorch installed.
pip install 'torch>=2.0'
python -m pip install 'torch>=2.0'
# Then proceed to one of the following
pip install -U audiocraft # stable release
pip install -U git+https://[email protected]/facebookresearch/audiocraft#egg=audiocraft # bleeding edge
pip install -e . # or if you cloned the repo locally (mandatory if you want to train).
python -m pip install -U audiocraft # stable release
python -m pip install -U git+https://[email protected]/facebookresearch/audiocraft#egg=audiocraft # bleeding edge
python -m pip install -e . # or if you cloned the repo locally (mandatory if you want to train).
```

We also recommend having `ffmpeg` installed, either through your system or Anaconda:
Expand Down

0 comments on commit 80f51fd

Please sign in to comment.