-
Notifications
You must be signed in to change notification settings - Fork 18
Installing things
Amit Parekh edited this page Jan 27, 2021
·
3 revisions
You can either work by installing all the dependencies yourself, or you can just use Docker and all of these steps are unneeded.
Because of operating systems, there are slightly different instructions for Windows. However, there are some general instructions that apply to all operating systems.
Note: If you wish to know, you can check out the details for why certain things are needed.
- Clone the repo and navigate to the folder
- Get the right Python version with
pyenv install
- Install the dependencies with
poetry install
— Poetry automatically creates a virtualenv for the project, so you don't need to do that separately.- Before installing any of the dependencies, you can run
poetry config virtualenvs.in-project true
to have Poetry store the.venv/
within the same folder. This is optional though and isn't needed, so don't worry if for some reason it doesn't work. Don't worry, it's already in the.gitignore
.
- Before installing any of the dependencies, you can run
- Run any "download" scripts within
scripts/
to download models to local files. - Done.