Skip to content

Commit 31505b3

Browse files
committed
BLD: importlib not available in py2.6
1 parent 2830901 commit 31505b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/util/print_versions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def show_versions(as_json=False):
9292
try:
9393
mod = imp.load_module(modname, *imp.find_module(modname))
9494
except (ImportError):
95+
import importlib
9596
mod = importlib.import_module(modname)
9697
ver = ver_f(mod)
9798
deps_blob.append((modname, ver))

0 commit comments

Comments
 (0)