Remove unnecessary warnings when Pygmo is not installed
When pygmo
is not installed, a lot of warnings a displayed even when the calibration mode is not used.
For example
$ python -m pyxel
ERROR:root:Pygmo could not be imported.
Traceback (most recent call last):
File "XXX/pyxel/pyxel/calibration/user_defined.py", line 20, in <module>
import pygmo as pg
ModuleNotFoundError: No module named 'pygmo'
XXX/pyxel/pyxel/run.py:29: RuntimeWarning: Cannot import 'pygmo
from pyxel.calibration import Calibration, CalibrationResult
This warnings should be removed.