Errors from screenshots
Send a screenshot of an error dialog or terminal with a line about what you were doing, and have Step 3.7 Flash read the error and suggest the fix. Run the fix and check the error is gone.
Example: What does this error screenshot mean?
Material
- Screenshot (terminal)
- $ python sync.py Traceback (most recent call last): File "sync.py", line 3, in <module> import yaml ModuleNotFoundError: No module named 'yaml'
- Note
- Worked yesterday; today I created a new virtual environment.
PromptRead the error in the screenshot and give the most likely cause and the fix.
Sample answer · written by hand to show the reasoning
The new virtual environment does not have the YAML library installed. The package that provides import yaml is called PyYAML, so run pip install pyyaml inside the activated environment, then run python sync.py again. Add pyyaml to requirements.txt so the next new environment gets it too.