fix message not formatted
@@ -365,6 +365,6 @@ You can install the library by:
'''
else:
assert False
- msg.format(lib=lib, exc_type=type(exc).__name__, exc=str(exc),
+ msg = msg.format(lib=lib, exc_type=type(exc).__name__, exc=str(exc),
cuda=config['cuda'])
warnings.warn(msg)
