You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) nolan@nolanDesktop:.../optimization$ python3 ./thing.py
Traceback (most recent call last):
File "./thing.py", line 1, in <module>
import mlrose
File "/home/nolan/anaconda3/lib/python3.8/site-packages/mlrose/__init__.py", line 12, in <module>
from .neural import NeuralNetwork, LinearRegression, LogisticRegression
File "/home/nolan/anaconda3/lib/python3.8/site-packages/mlrose/neural.py", line 12, in <module>
from sklearn.externals import six
ImportError: cannot import name 'six' from 'sklearn.externals' (/home/nolan/anaconda3/lib/python3.8/site-packages/sklearn/externals/__init__.py)
When trying to follow along https://github.com/gkhayes/mlrose/blob/master/tutorial_examples.ipynb ,
I get the following:
which is resolved by https://stackoverflow.com/questions/61867945/python-import-error-cannot-import-name-six-from-sklearn-externals
(this appears related to #54)
Could the library be updated such that the workaround is no longer needed?
The text was updated successfully, but these errors were encountered: