EpistasisLab / EpistasisLab/tpot
Error with TPOT MDR: No module named 'sklearn.externals.joblib'
- Dominant language
- Jupyter Notebook
- Stars
- 10.1k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I've just attempted to run a TPOT MDR job, and I get the error:
No module named 'sklearn.externals.joblib'
Doing a bit of research, I find that sklearn.externals.joblib is no longer a thing: https://github.com/scikit-learn/scikit-learn/pull/13676
Is there an update to TPOT to handle this, or do I need to make another adjustment in my environment. I did try to instal joblib directly, but that did not help.
I'm using conda and see that I have scikit-learn 0.23.1 and scikit-mdr 0.4.4 installed.
Here's the full backtrace:
File "/home/kdelisle/miniconda3/envs/TPOT/lib/python3.8/site-packages/tpot/base.py", line 642, in fit
self._fit_init()
File "/home/kdelisle/miniconda3/envs/TPOT/lib/python3.8/site-packages/tpot/base.py", line 521, in _fit_init
op_class, arg_types = TPOTOperatorClassFactory(
File "/home/kdelisle/miniconda3/envs/TPOT/lib/python3.8/site-packages/tpot/operator_utils.py", line 175, in TPOTOperatorClassFactory
import_str, op_str, op_obj = source_decode(opsourse, verbose=verbose)
File "/home/kdelisle/miniconda3/envs/TPOT/lib/python3.8/site-packages/tpot/operator_utils.py", line 85, in source_decode
raise ImportError('Error: could not import {}.\n{}'.format(sourcecode, e))
ImportError: Error: could not import skrebate.MultiSURF.
No module named 'sklearn.externals.joblib'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.