EnMAP on macos Mojave
Issue #221
closed
Under the latest version QGIS constantly restarts and opens a new session.
Comments (6)
-
-
Issue
#200was marked as a duplicate of this issue. -
- changed status to open
Seems to be caused by:
from enmapboxapplications.synthmixapp.core import SynthmixApp
which is called inenmapboxplugin/enmapbox/coreapps/enmapboxapplications/__init__.py
-
Caused by
from sklearn.ensemble import RandomForestRegressor
Traceback:
import sklearn
sklearn.__init__
importssklearn.base
sklearn.base
callsfrom .utils.fixes import signature
sklearn.utils._joblib.py
Seems to be the joblib library:
- use
pip3 install joblib
, thenimport joblib
causes the same
-
workaround:
if QOperatingSystemVersion.current().name() == 'macOS': # os.environ['SKLEARN_SITE_JOBLIB']='True'True # fix for issue #221 os.environ['JOBLIB_MULTIPROCESSING'] = '0'
-
- changed status to closed
closes issue
#221→ <<cset e0ed88920a2f>>
- Log in to comment
Does this happen right after opening the EnMAP-Box or is there another action triggering this behaviour?