Open lucarizzi opened 3 years ago
The only direct call to matplotlib appears to be in /kcwidrp/data/Untitled.ipynb. Is that a needed file, or can we cut it out? If so, this fix is as simple as removing matplotlib from enviornment.yml and setup.py (also maybe requirements.txt)
I think the matplotlib is called by the framework, not by the pipeline.
File "/Users/lrizzi/anaconda3/envs/kcwidrp/lib/python3.7/site-packages/keckdrpframework/core/server_task.py", line 16, in
I found an unexpected dependency.
Once in a while, to test our installation procedure, I wipe out the entire anaconda installation and start from scratch.
After i did that and started running the drp, the framework failed with the message: File "/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_qt5.py", line 15, in
import matplotlib.backends.qt_editor.figureoptions as figureoptions
File "/usr/local/lib/python3.7/dist-packages/matplotlib/backends/qt_editor/figureoptions.py", line 12, in
Turns out that the framework imports matplotlib and it uses the qt5 backend.
The fix is trivial
python3.7 -m pip install pyqt5
But I'd like to remove matplotlib from the framework.