Skip to content

Commit

Permalink
env: requirements.txt add matplotlib dependency for gui (#526)
Browse files Browse the repository at this point in the history
In this PR `matplotlib` was added in order to allow running of `birdnet_analyzer.gui` thus avoiding errors such as this:

```
BirdNET-Analyzer git:(main) ✗ python -m birdnet_analyzer.gui
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/ken/Documents/wk/BirdNET-Analyzer/birdnet_analyzer/gui/__main__.py", line 5, in <module>
    import birdnet_analyzer.gui.train as train
  File "/Users/ken/Documents/wk/BirdNET-Analyzer/birdnet_analyzer/gui/train.py", line 7, in <module>
    import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
```

This is a follow up to #525. Thank you, @Josef-Haupt for looking at and your feedback on that PR!
  • Loading branch information
kenshih authored Dec 13, 2024
1 parent d590afa commit 9bd2b77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ pywebview
tqdm
bottle
requests
keras-tuner
keras-tuner
# below, to support birdnet_analyzer.gui
matplotlib===3.9.3

0 comments on commit 9bd2b77

Please sign in to comment.