From 63c0bc1c3bb73231396c1d24e689f2bee80508d7 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Tue, 27 Jun 2023 23:34:46 -0400 Subject: [PATCH] Add troubleshooting section --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 746f1d8..5bb9d18 100644 --- a/README.md +++ b/README.md @@ -251,6 +251,21 @@ git config --local "diff.cat-show-all.textconv" "cat --show-all" but you should check that `cat --show-all samples/2x2.ans` works on your system first. Also, note that it might not work with your Git GUI of choice; you may need to use the command line. +### Troubleshooting + +> `Unable to import 'app' from module 'src.textual_paint.paint'` + +- Make sure to activate the virtual environment, if you're using one. +- Make sure to run the program from the root directory of the repository. + +> `ModuleNotFoundError: No module named 'src'` + +- Make sure to run the program from the root directory of the repository. + +> `ImportError: attempted relative import with no known parent package` + +- `paint.py` can only be run as a module, not as a script. I just... I haven't had the heart to remove the shebang line. + ### Linting ```bash