Closed wangg12 closed 7 years ago
What about changing it to
import re
...
current = tuple(int(re.match(r'^\d+',v).group()) for v in mx.__version__.split("."))
It is possible to have 0.10.11a8
.
@lryta You are right.
It looks like lint fails. Please add a space between r'^\d+'
and v
:
re.match(r'^\d+',v) => re.match(r'^\d+', v)
Thank you!
fix
mxnet
version check like'0.9.3a3'