1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 02:04:15 +00:00

add ModuleNotFoundError doc on submodule installation

This commit is contained in:
deadc0de6
2022-09-08 22:47:29 +02:00
parent cf343e3077
commit aa3defd117

10
docs/installation.md vendored
View File

@@ -39,6 +39,13 @@ of your dotfiles repository. Note that this script updates the submodule
automatically unless called with the environment variable `DOTDROP_AUTOUPDATE` automatically unless called with the environment variable `DOTDROP_AUTOUPDATE`
set to `no`. set to `no`.
If you happened to encounter `ModuleNotFoundError` error after an
update, it means the dependencies have changed and you should re-install
dependencies with
```bash
pip3 install --user -r dotdrop/requirements.txt
```
To ease the use of dotdrop, it is recommended to add an alias to it in your To ease the use of dotdrop, it is recommended to add an alias to it in your
shell with the config file path; for example: shell with the config file path; for example:
``` ```
@@ -84,6 +91,9 @@ If used as a submodule, update it with:
```bash ```bash
$ git submodule update --init --recursive $ git submodule update --init --recursive
$ git submodule update --remote dotdrop $ git submodule update --remote dotdrop
## install dependencies
$ pip3 install --user -r dotdrop/requirements.txt
``` ```
You will then need to commit the changes with: You will then need to commit the changes with: