Skip to content

Commit d0de97e

Browse files
committedSep 18, 2019
don't use joblib from externals
1 parent 3b6a933 commit d0de97e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
 

Diff for: ‎environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ dependencies:
99
- graphviz
1010
- python-graphviz
1111
- imageio
12+
- joblib

Diff for: ‎mglearn/plot_nmf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import matplotlib.pyplot as plt
33
import numpy as np
44

5-
from sklearn.externals.joblib import Memory
5+
from joblib import Memory
66

77
memory = Memory(cachedir="cache")
88

Diff for: ‎mglearn/plot_pca.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import matplotlib.pyplot as plt
33
import numpy as np
44

5-
from sklearn.externals.joblib import Memory
5+
from joblib import Memory
66

77
memory = Memory(cachedir="cache")
88

4 commit comments

Comments
 (4)

zguangzhi commented on Oct 2, 2019

@zguangzhi

No module named joblib? So where is joblib?

amueller commented on Oct 2, 2019

@amueller
OwnerAuthor

dhdistc commented on May 20, 2020

@dhdistc

No module named 'sklearn.externals.six?So where is sklearn.externals.six

amueller commented on May 25, 2020

@amueller
OwnerAuthor

This should be fixed in new version of mglearn. There is no need for six.

Please sign in to comment.