File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -1170,12 +1170,17 @@ def check(self):
1170
1170
import six
1171
1171
except ImportError :
1172
1172
return (
1173
- "six was not found." )
1173
+ "six was not found."
1174
+ "pip will attempt to install it "
1175
+ "after matplotlib." )
1174
1176
1175
1177
if not is_min_version (six .__version__ , self .min_version ):
1176
- raise CheckFailed (
1177
- "Requires six %s or later. Found %s." %
1178
- (self .min_version , six .__version__ ))
1178
+ return ("The installed version of six is {inst_ver} but "
1179
+ "a the minimum required version is {min_ver}. "
1180
+ "pip/easy install will attempt to install a "
1181
+ "newer version."
1182
+ ).format (min_ver = self .min_version ,
1183
+ inst_ver = six .__version__ )
1179
1184
1180
1185
return "using six version %s" % six .__version__
1181
1186
You can’t perform that action at this time.
0 commit comments